I store my files solely to the library/caches folder because I don't want them to be included in iTunes backup. Do I still have to use that flag or are those folders not backed up to the cloud anyway?
Grüße, René Am 04.01.2012 um 23:18 schrieb Craig Dunn <[email protected]>: > Have you already seen 'Technical Q&A QA1719' regarding this feature of iOS > 5.0.1? > > https://developer.apple.com/library/ios/#qa/qa1719/_index.html#//apple_ref/doc/uid/DTS40011342 > > As it says "Whenever you create a file or folder that should not be backed > up, write the data to the file and then call this method" which sets a file > attribute that the operating system looks at when backing up to > iTunes/iCloud. All your other file operations remain the same - just remember > to set for each new file/folder. > > Xamarin has kindly provided the complete get/set methods as of MT 5.0.3 > MonoTouch.Foundation.NSFileManager > > public static bool GetSkipBackupAttribute (string filename); > public static bool GetSkipBackupAttribute (string filename, out NSError > error); > public static NSError SetSkipBackupAttribute (string filename, bool > skipBackup); > Apple's docs also provide some guidance on where to store various types of > files, also discussed on the Xamarin docs site. > > HTH > Craig > > > On Thu, Jan 5, 2012 at 7:04 AM, Danny Pronk <[email protected]> wrote: > It seems like Xamarin have physic powers. > Today I heard that my app was rejected due to the fact that I have left to > many files being backed up to the iCloud :-) > Also today I read in the 5.1.1 release that support for iOS 5.0.1's skip file > form being backed up to iCloud has been integrated ! > > Can anybody please tell me how to use this feature on files that I place in > the personal storage directory please…. > > Regards > > Danny > > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch > > > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
