I am saving images,name,last name in local sqlite data base . I want to same content in sqlite data base save on i-Cloud. I am stuck on this problem please give me solution
Asked
Active
Viewed 232 times
1
-
possible duplicate of [iCloud basics and code sample](http://stackoverflow.com/questions/7795629/icloud-basics-and-code-sample) – radu-matei Sep 08 '15 at 11:04
-
@Matei_Radu this is NOT a duplicate of [iCloud basics and code sample](http://stackoverflow.com/questions/7795629/icloud-basics-and-code-sample). This question is *specific* to syncing a SQLite database to iCloud, which has its own difficulties, while [iCloud basics and code sample](http://stackoverflow.com/questions/7795629/icloud-basics-and-code-sample) is about storing document *text* data in the iCloud. – brodybits Oct 20 '15 at 14:23
1 Answers
0
You cannot sync sqlite database file on iCloud as it will corrupt your database. There are few options for you:
- Use iCloud sqlite sync via core data
- Zip sqlite file and sync it with iCloud, then unzip it inside app when needed

Roy K
- 3,319
- 2
- 27
- 43