var phone="10086";
UIApplication.sharedApplication().openURL(NSURL(string :"tel://"+"\(phone)")!)
或者
UIApplication.sharedApplication().openURL(NSURL(string :"tel://10086")!)
时间: 2024-10-26 00:48:07
var phone="10086";
UIApplication.sharedApplication().openURL(NSURL(string :"tel://"+"\(phone)")!)
或者
UIApplication.sharedApplication().openURL(NSURL(string :"tel://10086")!)