openURL方法
2015-09-30 00:00
330 查看
UIApplication *app = [UIApplication sharedApplication]; // 打电话 [app openURL:[NSURL URLWithString:@"tel://10086"]]; //发短信 [app openURL:[NSURL URLWithString:@"sms://10086"]]; //发邮件 [app openURL:[NSURL URLWithString:@"mailto://12345@qq.com"]]; //打开一个网页资源 [app openURL:[NSURL URLWithString:@"http://ios.itcast.cn"]];
相关文章推荐
- linux mysql
- linux centos 网卡错误 Device eth0 does not seem to
- 史上最强视频网站真实地址解析
- Handler,Message,Looper深入系统学习
- 折腾kali linux2.0
- Linux学习笔记之 pstree,htop,glances,dstat 命令使用
- linux基础之sed命令
- "不能在 DropDownList 中选择多个项。"其解决办法及补充
- tomcat的热部署
- ssh之openssh使用
- ad7888 linux driver
- nginx+tomcat
- 安装潮流组合--LAMP+NFS(编译php-fpm模块与apache2.4结合)
- 第 十 八 天 : 构 建 一 个 基 础 的 discuz 论坛
- linux内核对rootfs的挂载
- Linux NTP服务详解
- 新网站迟迟不被百度收录的几个解决办法
- 网站优化之新站文章不收录的因素
- ubuntu下hadoop配置指南
- ubuntu安装hadoop详细方法