Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Isn't NSApplicationSupportDirectory for stuff that isn't "Documents" and yet needs to be managed as app state (not in 'Caches')? Why not just use that instead? That's what my app does and it seems to be OK with iOS 5.


I do the same thing. Apple is unclear about this, however. ApplicationSupport is at /Library/Application Support, and /Library definitely does get backed up to iTunes.

http://developer.apple.com/library/ios/#DOCUMENTATION/FileMa...

That said, I think we're in the clear with respect to iCloud backups:

"Devices with an active iCloud account have their app data backed up to iCloud at appropriate times. And for devices that are plugged into a computer, iTunes performs an incremental backup of the app’s data files."

It's ambiguous. But "app data" sounds like documents, whereas "app's data files" sounds like big data files in /Library to me.


Well, according to the documentation that folder is backed up to iTunes as well. Actually, it seems, the only folder that skips backups to iTunes in the Library folder is the Caches folder.

The relevant part of the documentation is here: http://developer.apple.com/library/mac/#documentation/FileMa...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: