简体   繁体   中英

iOS8/Swift Data Persistence after uninstall

I'm developing an iPhone application for iOS8 in Swift. I currently save all the user data through NSUserDefaults and this works completely fine. Once I uninstall the demo app from my phone and reinstall it through XCode6, all the NSUserDefaults are gone, this is expected.

Question: How do I persist user data after uninstall?

将数据存储在钥匙串中,钥匙串数据将持续存在。

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