开发者

Editing file in bundle, objective c [duplicate]

This question already has answers here: Closed 10 years ago.

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜