Does anybody know how to programmatically get my own phone number on iPhone OS4? My app currently does it and works fine (iPhone OS 3.x). But now, after upgrading my OS to 4 it stopped working.
Tks.
Does anybody know how to programmatically get my own phone number on iPhone OS4? My app currently does it and works fine (iPhone OS 3.x). But now, after upgrading my OS to 4 it stopped working.
Tks.
I think that you forget to synchronise your NSUserDefaults. do this :
[[NSUserDefaults standardUserDefaults] synchronize];