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<http://ios.xamarin.com/Releases/MonoTouch_5/MonoTouch_5.0/5.0.2-to-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<http://docs.xamarin.com/ios/tutorials/Working_with_the_File_System#Application_Directories>
.

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

Reply via email to