Editing file in bundle, objective c [duplicate]
Possible Duplicate:
Writing into a file objective c
in my application开发者_如何转开发 i've a xml file and a sql file in the bundle of the app, i drop them in Resource folder.
I want to edit the in my app, i need to put them on Documentens folder on first startup?
Thanks.
Yes. You can't modify anything in the app bundle -- you must first copy it to a writeable directory, usually the app's Documents folder.
精彩评论