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
Swiftui: Navigationlink Not Working If Not in a List
Swift "Is" Operator with Type Stored in Variable
Swift Protocol for String Interpolation
Spritekit Particle Emitter Multi Image
Swift Find Superview of Given Class with Generics
Icloud Drive Issue: "[Documentmanager] Failed to Associate Thumbnails for Picked Url"
What Does "Constrain to Margins" Mean in Interface Builder in Xcode 6.0.1
Adding a Custom Font to MACos App Using Swift
How to Create Public Extensions, in a Shared Framework, for Xctest
How to Immediately See Swift Errors in Appcode
How to Remove Top Space of 'Form' in Swiftui
Problems Accessing Calendar Using Ekeventstore on Osx Sierra with Swift 3
In What Situation Would One Use Expectationfornotification in Swift Testing
Swift Packages and Conflicting Dependencies
Conform to Protocol and Keep Property Private