简体   繁体   中英

Enabling iCloud Drive folder for files of an iOS app

I store files and a persistant core data store in iCloud. If I go to ~/Library/Mobile Documents/iCloud~com~company~myApp/Documents I can see the files that are stored in iCloud.

But when I go to the Finder and select iCloud Drive then I can not see the files. If I log onto iCloud.com I can also not see the files.

I have the following entries in my Info.plist

<dict>
    <key>iCloud~com~company~myApp</key>
    <dict>
        <key>NSUbiquitousContainerIsDocumentScopePublic</key>
        <true/>
        <key>NSUbiquitousContainerName</key>
        <string>My App</string>
        <key>NSUbiquitousContainerSupportedFolderLevels</key>
        <string>None</string>
    </dict>
</dict>
</plist>

Is there anything else I need to set up for the files and the folder to also show up in Finder?

Thanks

问题是,关键是不应该反映该文件夹的名称,而是将命名空间,这样iCloud~com~company~myApp应该是iCloud.com.company.myApp

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM