I am using the below code in my application which works perfectly in iPhoneOS 3.1.3 but not working in iOS 4.0. Any body affected by using this.
NSString *currentPhoneNumber = [[NSUserDefaults standardUserDefaults] objectForKey:@"SBFormattedPhoneNumber"];