ios - Creating a User record based on currently logged in Apple ID -


using objective-c there way can create new user app based on apple id automatically. using in conjunction cloudkit in order create , auth users without creating whole 'login' , 'sign up' view

cloudkit gives out of box. ckcontainer can return user record of signed in user on device, , have stable identifier (recordid) can use authenticate , identify same user across devices.

since user recordid scoped container, , default developer won't user details apple id (unless discoverability has been opted in to), there no explicit login or ui necessary in client. it's seamless user experience perspective.

you'll find more documentation on how fetch user record at: https://developer.apple.com/library/ios/documentation/cloudkit/reference/ckcontainer_class/index.html#//apple_ref/occ/instm/ckcontainer/fetchuserrecordidwithcompletionhandler:


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -