解决办法:
let tokenData = NSData(data: deviceToken)
let deviceToken = tokenData.description.replacingOccurrences(of:"<", with:"").replacingOccurrences(of:">", with:"").replacingOccurrences(of:" ", with:"")
解决办法:
let tokenData = NSData(data: deviceToken)
let deviceToken = tokenData.description.replacingOccurrences(of:"<", with:"").replacingOccurrences(of:">", with:"").replacingOccurrences(of:" ", with:"")
本文标题:swift3 友盟推送获取deviceTocken 打印为32
本文链接:https://www.haomeiwen.com/subject/wpoppxtx.html
网友评论