iter
iter

Reputation: 4313

Is it possible to distribute an app that has files in NSDocumentDirectory?

I know how to put files into a bundle. These are read-only; the user cannot modify them at runtime.

I know how to write files NSDocumentDirectory at runtime. These are read-write.

I know I can copy files from a bundle into NSDocumentDirectory the first time my app starts up.

I am wondering if there is a way to package writeable files directly with an application.

Upvotes: 1

Views: 541

Answers (1)

Alex Reynolds
Alex Reynolds

Reputation: 96976

It may not be possible to distribute an app with files in the document directory without knowing the user- and device-specific path to the document directory before runtime.

Upvotes: 1

Related Questions