Re: Questions regarding the sandbox in iOS
Re: Questions regarding the sandbox in iOS
- Subject: Re: Questions regarding the sandbox in iOS
- From: Jens Alfke <email@hidden>
- Date: Wed, 06 Feb 2019 13:51:18 -0800
> On Feb 5, 2019, at 6:13 PM, Carl Hoefs <email@hidden> wrote:
>
> Of NSHomeDirectory, NSDocumentDirectory, and NSLibraryDirectory, I'm
> currently using NSDocumentLibrary for the scratch directory. I presume for
> each of these areas, the storage is persistent across app invocations. Is
> there a temporary area available for use?
NSTemporaryDirectory?
It does matter which of these you use, because there are policies for their use
that are checked during App Store review. I know that an app can be rejected if
it puts things in Documents that are not related to user-visible data, or if it
continually adds data to directories that are backed up to iCloud.
—Jens
_______________________________________________
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