Ckcontainer.Discoverallidentities Always Fails

What makes a user discoverable to CKDiscoverAllUserIdentitiesOperation?

There's quite a bit that must be done before CKDiscoverAllUserIdentitiesOperation will return any results.

First, each user of your app must grant permission to be looked up by email. Your app makes this request using CKContainer requestApplicationPermission.

Each user of your app must also be logged into an iCloud account. iCloud Drive must also be enabled by the user.

And lastly, for CKDiscoverAllUserIdentitiesOperation to return any users, the person must have contacts with email addresses that match other users that completed all of the previous steps.

How to scroll the window using JQuery $.scrollTo() function

If it's not working why don't you try using jQuery's scrollTop method?

$("#id").scrollTop($("#id").scrollTop() + 100);

If you're looking to scroll smoothly you could use basic javascript setTimeout/setInterval function to make it scroll in increments of 1px over a set length of time.



Related Topics



Leave a reply



Submit