tazah://posts?postID=10
I need to make this a clickable link without using http
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)
}
}
Just add in you info.plist int the URL types scheme.