I have a problem with contact details from AdressBook.
I use method personViewController:shouldPerformDefaultActionForPerson:property:identifier:
to get selected number but when user tap on earphone image, I can't get selected number.
Is there a way to do this?
This earphone button exist only in iOS7.
Asked
Active
Viewed 68 times
0

Sebastian Wramba
- 10,087
- 8
- 41
- 58

Nikola Nikolic
- 61
- 1
- 3
-
Did you take a look at the documentation by Apple? If there is no delegate call that allows you to intercept this, this won't be possible. And I am pretty sure, there is none. – Sebastian Wramba Feb 02 '14 at 11:07
-
You are right, there is nothing about this in Apple documentations. – Nikola Nikolic Feb 02 '14 at 11:09
-
I thought so, since it is an "intimate" system feature. Your app is probably not supposed to know when somebody is called due (privacy). – Sebastian Wramba Feb 02 '14 at 11:14
-
I have found a way to prevent the button to appear and this solved my problem. – Nikola Nikolic Feb 02 '14 at 18:35