简体   繁体   中英

Saving and retrieving data from NSMutablearray

I have a NSMutableArray holding string data.

I want to save my data. When i turn off the application and relaunch the application my saved data need to be presented.

And I need to know where the file saved.

This question is basically the same as yours: Saving a NSArray

Another option is to save it in NSUserDefaults .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM