NSString char *互相转换
摘要:
//NSString转换char NSString * str1= @"Test"; const char * c1 =[str1 UTF8String]; //char转换NSString const char * c2 ="test"; NSString *str2 = [NSStringstringWithUTF8String:c2]; 阅读全文
posted @ 2013-01-25 12:07 南瓜饼 阅读(168) 评论(0) 推荐(0) 编辑