黄锦的移动开发博客

专注Iphone,Android开发

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

+ (NSString*) stringWithUUID 

{
   CFUUIDRefuuidObj = CFUUIDCreate(nil);//create a new UUID
   
   //get the string representation of the UUID
   NSString*uuidString = (NSString*)CFUUIDCreateString(nil, uuidObj);
   CFRelease(uuidObj);
   return [uuidString autorelease];
}



posted on 2010-09-26 11:40  黄锦  阅读(697)  评论(0编辑  收藏  举报