My first problem is how to get the directory of my db (off line data) ( https://developer.apple.com/library/ios/#qa/qa1719/_index.html Technical Q&A QA1719 ), Apple say for this data: Offline Data This is data that can be downloaded or otherwise recreated, but that the user expects to be reliably available when offline. Offline data should be put in the <Application_Home>/Documents directory or in the <Application_Home>/Library/Private Documents directory (see QA1699 for details) and marked with the "do not backup" attribute. Data stored in either location will persist in low-storage situations and the "do not backup" attribute will prevent iTunes or iCloud backing up the data. Offline data files should be removed as soon as they are no longer needed to avoid using unnecessary storage space on the user's device. In my directory struct i havent' got this directories.
How get <Application_Home>/Library/Private Documents? And the second problem is how to http://developer.apple.com/library/ios/#qa/qa1699/_index.html prevent files from being backed up to iCloud an ITunes . Apple put an example: #include <sys/xattr.h> - (BOOL)addSkipBackupAttributeToItemAtURL:(NSURL *)URL { const char* filePath = [[URL path] fileSystemRepresentation]; const char* attrName = "com.apple.MobileBackup"; u_int8_t attrValue = 1; int result = setxattr(filePath, attrName, &attrValue, sizeof(attrValue), 0, 0); return result == 0; } How do this in monotouch? Thanks to all and sorry for my english -- View this message in context: http://monotouch.2284126.n4.nabble.com/Two-problem-publish-app-in-AppStore-with-sqlite-database-tp4215141p4215141.html Sent from the MonoTouch mailing list archive at Nabble.com. _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
