var tokenStr: String = ""
for i in 0 ..< deviceToken.count{
tokenStr += String(format: "%02.2hhx", arguments: [deviceToken[i]])
}
print("tokenString: ", tokenStr)
var tokenStr: String = ""
for i in 0 ..< deviceToken.count{
tokenStr += String(format: "%02.2hhx", arguments: [deviceToken[i]])
}
print("tokenString: ", tokenStr)
本文标题:swift3.0 iOS10 对 转换 deviceToken
本文链接:https://www.haomeiwen.com/subject/mysuittx.html
网友评论