I trying to make a function that direct to WhatsApp with default text. In answer https://stackoverflow.com/a/61483365/14355301 it can work without the message or single word, how if I want to make the text a sentences? Once I make the text sentences, it cant work.
if let url = URL(string: "https://wa.me/\(item.contact!)?text=Testing test"), //cant work
UIApplication.shared.canOpenURL(url) {
UIApplication.shared.open(url, options: [:])
}