iphone - iOS detect action from UITextView with phone number being tapped -


ios 7 , xcode 5.

i have textview phone number can touched make call. have implemented uigesturerecognizer selector, "doesn't work" (more on below)

the issue this: when tap on phone number on device alertview prompt "(phone) cancel/call"

here's want do: want capture (for data collection purposes, not real behavior) whenever user pushes "call" button in alertview.

the reason why uigesturerecognizer "doesn't work" because selector method gets called if user taps on cancel button or taps on phone link multiple times. both of these cases useless me.

any suggestions?

note: dont want make button place call since doing os takes me phone app after instead of app, textview does.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -