티스토리 뷰

+ (NSString *) createUUID
{
    NSString *uuid = [[NSUUID UUID] UUIDString];

    return uuid;
}
//output : 61237D34-C6ED-4AA7-8151-A42053C953B4

출처
https://stackoverflow.com/questions/14352418/how-to-generate-uuid-in-ios/14352436

댓글