问题
I have implemented the iCloud
support on my Mac document-based app.
NSDocument
subclass can handle open e save file on local storage and iCloud
.
But, I can upload my files on iCloud
only dragging it on the Open-New File Panel.
When the app prompt the user the location to save the file, iCloud
is not on the list.
Isn't it supported by default like in TextEdit? I have to implement with my own code?
Image here:
回答1:
I managed to fix this problem by
- recreating certificates and provisioning profiles
- removing the LSItemContentTypes key for my CFBundleDocumentTypes entry in the Info.plist. I also removed the UTExportedTypeDeclarations entry (which may or may not have contained errors).
回答2:
I have same problem. but it is solved when I fix code sign problem. this problem invoked by code sign wrong.
来源:https://stackoverflow.com/questions/13212337/include-icloud-on-save-dialog-box-in-mac-app