开发者

iOS Default Document files

I want to ship some default files along with my iPhone/iPad app through app's Document 开发者_开发知识库folder. Because end user should see files using iTunes and can edit it.

Is there any way to do this?

Thanks in advance.

-Rahul


You put the default files into the App's folder and copy them on App launch into the documents folder, if they are not already in documents folder (in case of reinstall or not first launch).


Do you meant you want to enable file sharing ? If yes then below link may help you.

http://www.raywenderlich.com/1948/how-integrate-itunes-file-sharing-with-your-ios-app

Let me know.


add the files into the app using absolute path and create sub folders for the content ,which carries the content along with the app and they will be placed in documents folder of the app.

hope this works

TNQ

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜