Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

turn off iCloud backup for my application iOS sdk

Tags:

ios

icloud

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

like image 576
Литвинов Никита Avatar asked Dec 25 '22 23:12

Литвинов Никита


1 Answers

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

like image 93
jsd Avatar answered Jan 11 '23 07:01

jsd