Created
August 16, 2016 12:57
-
-
Save janodev/8185473bc0868128840ce19ee0901dbc to your computer and use it in GitHub Desktop.
Register the token
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
func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) | |
{ | |
let token = deviceToken.description.components(separatedBy: CharacterSet(charactersIn: "<> ")).joined(separator: "" | |
dlog(token, .Info) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment