Bartosz Bialecki
Bartosz Bialecki

Reputation: 4451

OS X: open panel does not show icloud documents

I have an app where I want to open panel and user can select a document from local storage or from icloud. I have icloud enabled and also files and data but open panel shows only local storage data. I tried with these functions:

NSOpenPanel *openPanel = [NSOpenPanel openPanel];

[[NSDocumentController sharedDocumentController] runModalOpenPanel:openPanel forTypes:supportedDocumentTypes];

or

[[NSDocumentController sharedDocumentController] beginOpenPanelWithCompletionHandler:^(NSArray *array) {

}];

or

NSInteger result = [openPanel runModal];

Did I forget about something or did I make it wrong? Is it at all possible from non document-based app?

Upvotes: 0

Views: 138

Answers (0)

Related Questions