Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

17. iCloud > 17.1. Setting Up Your App for iCloud

17.1. Setting Up Your App for iCloud

Problem

You want to start using iCloud in your apps and you would like to know how you should set up your Xcode project.

Solution

Follow these steps to enable iCloud storage in your app:

  1. Create an app in Xcode and set its bundle identifier using a reverse-domain style. For instance, com.pixolity.Setting-Up Your-App-For-iCloud.

  2. Using the iOS Provisioning Portal, create a new App ID for your app. Enable iCloud for that App ID by selecting it in the portal, enabling the checkbox for iCloud, and saving your changes.

  3. In iOS Provisioning Portal, create new Ad Hoc App Store and Development provisioning profiles, and make sure they are linked to your new App ID.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial