Reputation: 3020
I have set the datadetectortype of textView as Phonenumber through xib. when i click on that number an actionsheet comes automatically from the bottom.In that action Sheet there are four buttons(Call,Add to contacts, copy, cancel).can any one tell me if i tap on call button in actionsheet then call will goes to that number automatically or which delegate method will call if i tap on that?
Upvotes: 0
Views: 149
Reputation: 16543
There is no delegate for the UITextViewDataDetector. The OS handles the responsibility for which type of DataDetector is selected and it is responsible for invoking the corresponding application and passes the url to that. You cant detect the action.
Upvotes: 1