简体   繁体   中英

Loading NSBundle Plist file to Document Directory

I working with Plist file reading and writing data, To work that in device i have moved plist file from NSBundle to Document Directory programatically. And using that plist to write data. IS this process is correct way , Will Appstore accept this type of approach. Please help me.

Thanks,

no. the plist is not user data and shouldn't be backuped but the documents folder is

move it to library/Caches/ (and be prepared to lose it)

OR

create a custom dir in library .. (eg app support)

src: https://developer.apple.com/icloud/documentation/data-storage/index.html src2: https://developer.apple.com/library/ios/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/ManagingFIlesandDirectories/ManagingFIlesandDirectories.html

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