uuid
NSString* uuid() {
CFUUIDRef theUUID = CFUUIDCreate(NULL);
NSString* uuidString = (__bridge_transfer NSString*)
CFUUIDCreateString(NULL, theUUID);
CFRelease(theUUID);
return uuidString;
}
根据mac地址获得uuid
uuid
NSString* uuid() {
CFUUIDRef theUUID = CFUUIDCreate(NULL);
NSString* uuidString = (__bridge_transfer NSString*)
CFUUIDCreateString(NULL, theUUID);
CFRelease(theUUID);
return uuidString;
}
根据mac地址获得uuid