News for hackers. Stuff that matters.
Re:IOS 5's "Cleaning" Behavior by psychotik on Thursday October 13, 2011 @05:52PM (#3108940)
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.
Re:IOS 5's "Cleaning" Behavior by mrgrieves on Thursday October 13, 2011 @06:54PM (#3109141)
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.

Re:IOS 5's "Cleaning" Behavior by ufuk on Thursday October 13, 2011 @06:40PM (#3109094)
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...