How to get the device token from new xCode 8, Swift 3 in iOS 10?
Here is the code to register notification:
The below snnipet is working with Eric Aya solution :
let token = deviceToken.reduce("", {$0 + String(format: "%02X", $1)})
Thanks for all help :)