如何从iOS App发送彩信?以下代码可用于发送短信。如果我要发送图像怎么办?我正在使用Swift 5 rn

时间:2019-12-05 09:50:13

标签: swift5

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

0 个答案:

没有答案