Using icloud as a database repository

I have an instance of my sqlite DB in icloud and I want to use this icloud sqlite DB as insert / update and delete. I made a code for it, but it does not work on another device (I have 2 devices). So, when I perform any operation with the database, it works for this one other device, which does not show any changes in the device. If I insert one entry into the iPhone, it does not appear on the iPad. I use the copyItemAtPath, removeItemAtPath and removeItemAtURL methods from the FileMenager class.

This is really true.

thanks

+4
source share
1 answer

Use CoreData + iCloud. Check out https://devforums.apple.com/thread/126670?tstart=0 you should have access to the developer forum.

+2
source

Source: https://habr.com/ru/post/1394952/


All Articles