Re: iOS - how to make documents visible in iTunes
Re: iOS - how to make documents visible in iTunes
- Subject: Re: iOS - how to make documents visible in iTunes
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Sun, 20 Mar 2016 04:29:17 +0700
> On 20 Mar 2016, at 02:21, Quincey Morris <email@hidden> wrote:
>
> On Mar 19, 2016, at 11:24 , Gerriet M. Denkmann <email@hidden> wrote:
>>
>> I have an iOS app (9.2.1) (not document based) which contains stuff in:
>> /private/var/mobile/Containers/Data/Application/55…F0/Documents, which is the NSDocumentDirectory in NSUserDomainMask.
>>
>> I want to see these files in iTunes → my iOS Device → Apps → File Sharing
>> But my app does not even make it to this list of Apps.
>>
>> Is there any magic needed in Info.plist (or where else)?
>
> If you want to see those files that way, then you’re going to have to declare the document types in your info.plist like any UIDocument-based app.
Turns out this is not necessary.
But what is needed is: UIFileSharingEnabled = Application supports iTunes file sharing = YES
>
> If you want to examine the container for debugging purposes, you can go to the Xcode Devices window, select your app and choose (e.g.) Download Container from the utility popup menu.
A very helpful hint. I did not know this before.
Thanks for your help!
Gerriet.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden