- Let's look at what we have so far…on two devices at once.…So on the left side we have the simulator…and on the right side we have my phone…that's currently plugged in to my computer…and this is running in real time.…So, in the simulator I can type,…in the Save Data field,…hello from simulator…and then hit Save Data,…and if I go onto my phone…and I tap Load Data…then the data is loaded from the cloud…onto my phone.…Now we can save the data…from the phone to the simulator as well.…

So, hello from phone.…So I type that out, tap the Save Data button,…and then, what we have to do…is before it's going to show up in the simulator…it's important to understand how the cloud sync works.…So the data from our phone has been sent to iCloud.…Now before this data can come from iCloud…to the simulator, we need to call that command…where we trigger iCloud sync.…So I'm going to click right here:…Trigger iCloud sync.…You'll want to wait a minute before you press that…because if it hasn't been long enough…then it's not going to work.…

Resume Transcript Auto-Scroll

Author

Released

1/7/2016

iCloud is built into every iOS device and every new Mac. It lets users access their content from any device, but it's also great for developers who want to store and sync data in the cloud. In this short course, Todd Perkins explains how to access iCloud from iOS, using the iCloud API to incorporate storage capabilities into the iPhone and iPad apps you build. He shows how to load files from iCloud, send data to iCloud, work with CloudKit databases, and autosync cloud data so your apps are always up to date.