func getUUID() -> String {
let uuidRef = CFUUIDCreate(nil)
let uuidStringRef = CFUUIDCreateString(nil,uuidRef)
return uuidStringRef! as String
}
func getUUID() -> String {
let uuidRef = CFUUIDCreate(nil)
let uuidStringRef = CFUUIDCreateString(nil,uuidRef)
return uuidStringRef! as String
}
本文标题:swift 随机uuid
本文链接:https://www.haomeiwen.com/subject/obfgzhtx.html
网友评论