I am running a similar code in FileProvider extension, which throws an notAuthenticated error if the user is not logged in. How do I make user to launch the parent app for the authentication?
func enumerateItems(for observer: NSFileProviderEnumerationObserver, startingAt page: NSFileProviderPage) {
if(isSignedOut){
observer.finishEnumeratingWithError(NSFileProviderError(.notAuthenticated))
return
}
}
And in the Finder it shows
The right corner has Sign in button how do get action control of that button?