swift3 友盟推送获取deviceTocken 打印为32 bytes

解决办法:

let tokenData = NSData(data: deviceToken)
let deviceToken = tokenData.description.replacingOccurrences(of:"<", with:"").replacingOccurrences(of:">", with:"").replacingOccurrences(of:" ", with:"")

你可能感兴趣的:(swift3 友盟推送获取deviceTocken 打印为32 bytes)