tags:

views:

14

answers:

1

Hi, i am working with call baring application in which i want caller mobile number...i had already tried with coretelephony framework and also got call id and all other field but i want exact mobile number..is there any solution available in ios 4.0 sdk?thanks i advance..

A: 

i can get the user's phone # from NSUserDefaults. And then look up their address book entry.

This method is completely undocumented and liable to break at a moments noticed.

Also it is fragile - user might have a bad address book with the same # used multiple times etc.

i got this result after googling can someone explain it?

Gaurav aka sparsh