- (NSString *)UUID
{
    CFUUIDRef uuid_ref = CFUUIDCreate(NULL);
    
    CFStringRef uuid_string_ref= CFUUIDCreateString(NULL, uuid_ref);
    
    CFRelease(uuid_ref);
    
    NSString *uuid = [NSString stringWithFormat:@"%@",uuid_string_ref];
    
    CFRelease(uuid_string_ref);
    return uuid;
}

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-25
  • 2022-12-23
  • 2021-07-09
猜你喜欢
  • 2021-03-01
  • 2022-03-09
  • 2021-11-03
  • 2021-07-29
  • 2022-12-23
相关资源
相似解决方案