2016年9月19日

iOS调用系统电话、浏览器、地图、邮件等

摘要: - (IBAction)openMaps { //打开地图 NSString*addressText = @"beijing"; //@"1Infinite Loop, Cupertino, CA 95014"; addressText =[addressText stringByAddingPercentEscapesUsingEncoding:NSASCIIStringEncoding]... 阅读全文

posted @ 2016-09-19 18:15 MJ_Angel 阅读(251) 评论(0) 推荐(0) 编辑

oc中调用c函数 实现将字符串转换成unsigned char

摘要: 帮助码友解决问题,从而复习了一下oc中调用c函数的方式 1,新建c 头文件 test.h 定义 c 函数 2,新建 c 实现文件,新建模板选中 c File test.c 3.实现函数 4,oc 中调用,引用 c 头文件 test.h 阅读全文

posted @ 2016-09-19 11:29 MJ_Angel 阅读(2582) 评论(0) 推荐(0) 编辑

导航