I am using webview for my Swift app and I have \"Share on WhatsApp\" button on my website which works fine on a browser. But on iPhone app, when I click on the butt
webview
Here is a simple answer I use in a switch structure. This loads whatsApp. I am still looking for a way to call a specific contact.
case "whatsApp": let usefullWhere: String = "whatsapp://?app"// let url = NSURL(string: usefullWhere)! UIApplication.sharedApplication().openURL(url)