开发者

Editing file in bundle, objective c [duplicate]

开发者 https://www.devze.com 2023-02-28 00:45 出处:网络
This question already has answers here: Closed 10 years ago. Possible Duplicate: Writing into a file objective c
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

精彩评论

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