2011-09-21 56 views

回答

0

如果你需要一個唯一的標識符,我將創建一個這樣的UUID:

CFUUIDRef uuid = CFUUIDCreate(NULL); 
NSString *uuidString = [(NSString *)CFUUIDCreateString(NULL, uuid) autorelease]; 
CFRelease(uuid); 
NSLog(@"UUID: %@", uuidString);