标签: swift5
let sms:字符串=“ sms:+ 1234567890&body = Hello Abc您好,我是ios开发人员。” 让strURL:字符串= sms.addingPercentEncoding(withAllowedCharacters:.urlQueryAllowed)! UIApplication.shared.open(URL.init(string:strURL)!,选项:[:],completionHandler:无)