Custom CloudKit sharing workflow

The use case

firstName: String
lastName: String
thumbnail: Data
privateShareUrl: String
phoneNumber: String
email: String

CloudKit general workflow and limitations

  1. Create the CKShare
  2. Pass it to a specific UICloudSharingController
  3. Create a URL to share using third party apps
  1. Click on the link for accepting the shared url
  2. Implement some delegates on the UIApplication

It would be great, if I could select receivers of my private information by simple tapping the users icon in my app.

Implementation

Our approach

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store