ios - Anonymously Log In to an App with iCloud Apple ID -


according cloudkit overview:

cloudkit enables users anonymously sign in apps icloud apple ids without sharing personal information.

i can't find else in documentation capability. have app own backend, wouldn't need of back-end-as-a-service features cloudkit offers, take advantage of logging user in icloud account, same way facebook , twitter.

is possible cloudkit, or have leverage baas features in order take advantage of login?

from discussed @ wwdc, you'd using fetchuserrecordidwithcompletionhandler: method on ckcontainer. returns ckrecordid corresponds current user. id stable across devices different each app-- if same person uses app on multiple devices, app same result everywhere, other apps different results yours.

once have ckrecordid can limited other user data (their name , email, think) using fetchrecordwithid:completionhandler:. request trigger permission alert user, if allow it.

this doesn't require use else in cloudkit. require user have icloud account configured on device.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -