I had created Entity called **Information**
in Coredata model and there are three attributes in this entity as name,email and imagename respectively..
And storing all images in document directory.. There are two buttons called Synch On iCloud
and **Restore Backup**
on Settings
page..
On Synch On iCloud
Button, All that core data and images should go on iCloud..
How to synch all that.. I had spent 2 days research work but can't got success.. and doesn't got any guidelines for that also..
And from other device When I click on Restore Backup
, the coredata model filled with that
data that I stored on iCloud and all images also..
Please help me solve this issue..
Thanks,
Mehul.
This is perhaps the most obvious use for CloudKit: syncing your users' data across their devices. Example: a note taking app where the user can create and read notes on any device associated with their iCloud account. Alternatives: Realm Mobile Platform, Firebase, iCloud KVS, iCloud Documents, custom web app.
The next time you need to store data, you should have a better idea of your options. Core Data is unnecessary for random pieces of unrelated data, but it's a perfect fit for a large, relational data set. The defaults system is ideal for small, random pieces of unrelated data, such as settings or the user's preferences.
CloudKit is Apple's remote data storage service. Based on iCloud, it provides a low-cost option to store and share app data using your users' iCloud accounts as a back-end storage service. There are two main components to CloudKit: A web dashboard to manage record types and any public data.
Just go to this link
and download the code from it. It will help you. You need to set the profile entitlements and you need to set the code identity for that should be perfect according to the profile entitlements
and After downloading change this
In MTICloudImagesController.m
file look at this statement this xib file is not declared properly
MTICloudFileOpenViewController* openFile = [[MTICloudFileOpenViewController alloc] initWithNibName:@"MTICloudFileOpenViewController" bundle:[NSBundle mainBundle]];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With