Answers for "swift open messages app"

0

swift open messages app

let sms = "sms:+1234567890&body=Hello Abc How are You I am ios developer."
let strURL = sms.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed)!
UIApplication.shared.open(URL(string: strURL)!, options: [:], completionHandler: nil)
Posted by: Guest on April-19-2022

Code answers related to "Swift"

Browse Popular Code Answers by Language