举例 跳转到 几个 系统应用
//邮件 //let url:String = "mailto:[email protected]" //电话 //let url:String = "tel:10086" //短信 //let url:String = "sms:10086" //打开 应用商店(App Store)中 对应应用 的页面 ,不能含有中文 let url:String = "https://itunes.apple.com/cn/app/%e5%be%ae%e4%bf%a1/id414478124?mt=8&v0=WWW-GCCN-ITSTOP100-FREEAPPS&l=&ign-mpt=uo%3D4" UIApplication.shared.openURL(NSURL(string: url) as! URL)