Last active
June 7, 2019 20:38
-
-
Save henning-jh/96bb5dd18551713ede356ca30978b957 to your computer and use it in GitHub Desktop.
Sign In with Apple: notifications
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let center = NotificationCenter.default | |
let name = NSNotification.Name.ASAuthorizationAppleIDProviderCredentialRevoked | |
let observer = center.addObserver(forName: name, object: nil, queue: nil) { (notification) in | |
// sign user out | |
// optionally guide them to sign in again | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment