Can any one tell in case of device path of info plist,& where our own phone number is stored ?
Asked
Active
Viewed 346 times
2 Answers
0
You can ref to this post for the answer.
-
This will give us a number that is already saved in my own number,& in that we can save number which ever we want,i dont want that ,i want my phone number. – vishwa Dec 03 '10 at 06:27
0
Not sure why you need the Info.plist
. You probably don't want to be accessing anything of that sort at runtime. It is indeed possible to retrieve the phone number from NSUserDefaults
, but I recommend that you just ask the user to select his own contact, or even just enter in his own phone number. That's a little bit less surprising and scary, security-wise.

Jonathan Sterling
- 18,320
- 12
- 67
- 79
-
Because I want My own mobile number & by NSUserDefaults we get no that is saved by us in my own number ,it can be any number that we saved,i dont want that,i want my mobile number. – vishwa Dec 03 '10 at 06:25