tazah://posts?postID=10
I need to make this a clickable link without using http
You can open urls using this code
UIApplication.shared.open(url, options: [:], completionHandler: nil)
So in your case:
if let url = URL(string: "tazah://posts?postID=10") {
if UIApplication.shared.canOpenURL(url) {
UIApplication.shared.open(url, options: [:], completionHandler: nil)
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With