2015年8月17日

摘要: //打开地图 NSString*addressText = @" "; //@"1Infinite Loop, Cupertino, CA 95014"; addressText =[addressText stringByAddingPercentEscapesUsingEncoding:NSA... 阅读全文

posted @ 2015-08-17 12:24 Fhj888 阅读(169) 评论(0) 推荐(0) 编辑

摘要: NSString *strName = [[UIDevice currentDevice] name]; // Name of the phone as named by user NSString *strSysName = [[UIDevice currentDevice] systemN... 阅读全文

posted @ 2015-08-17 12:23 Fhj888 阅读(153) 评论(0) 推荐(0) 编辑

摘要: NSString *str=@"12345678"; NSString *str1=[str substringFromIndex:2]; //结果345678 NSString *str2=[str substringToIndex:2]; //结果12 阅读全文

posted @ 2015-08-17 12:19 Fhj888 阅读(119) 评论(0) 推荐(0) 编辑