NSString *uuid_str = [[[UIDevice currentDevice] identifierForVendor] UUIDString]; uuid_str = [uuid_str stringByReplacingOccurrencesOfString:@"-" withString:@""];