Is there a callback to identify when the user clicks Call in the Popup that comes when we click on a number in a textview?
func textView(textView: UITextView, shouldInteractWithURL URL: NSURL, inRange characterRange: NSRange) -> Bool
The function mentioned above will help me identify that a link has been clicked in a UITextView, Whereas is there a specific callback to identify if Call is clicked or Cancel is clicked
Use the delegate method:
don't forget to connect the textView delegate.
Then you can add a custom UIAlertController to call or cancel.
Edit:
This is the full code:
One last thing,, in your info.plist add: