生成唯一的随机字符串

    CFUUIDRef cfuuid = CFUUIDCreate(kCFAllocatorDefault);
    NSString *cfuuidString = (NSString*)CFBridgingRelease(CFUUIDCreateString(kCFAllocatorDefault, cfuuid));

 

posted @ 2016-05-31 11:27  沈红榜  阅读(299)  评论(0编辑  收藏  举报