//Creating UUID string with Objective C and iOS sdk
+ (NSString*) stringWithUUID {
CFUUIDRef uuidObj = CFUUIDCreate(nil);
NSString *uuidString = (NSString*)CFUUIDCreateString(nil, uuidObj);
CFRelease(uuidObj);
return [uuidString autorelease];
}
//or
[[NSProcessInfo processInfo] globallyUniqueString];
Great help... I got it
ReplyDelete