char *url = "test";

NSString *urlStr = [NSStringstringWithUTF8String:url];

char *ch =  [urlStr UTF8String];

 

posted on 2014-06-03 16:27  童话DY  阅读(276)  评论(0编辑  收藏  举报