turn off iCloud backup for my application iOS sdk

I have some problems because of iCloud and i want to turn off its for my app,how can i do it in the code of my application,i thought about my problem and the decision can be turning off the iCloud, thanks for help

Upvotes: 6

Views: 8902

Answers (1)

jsd
jsd

Reputation: 7703

If you store files in Documents, they will be backed up to iCloud automatically. If you don't want that, the easiest way is to just store them somewhere else. Library/Caches is a good choice. If you really MUST store in Documents but you want to disable iCloud backup you can use the technique outlined here:

https://developer.apple.com/library/ios/#qa/qa1719/_index.html

Upvotes: 10

Related Questions