开发者

SBFormattedPhoneNumber issue in iOS4.0

开发者 https://www.devze.com 2023-01-04 19:11 出处:网络
I am using the below code in my application which works perfectly in iPhoneOS 3.1.3 b开发者_StackOverflow中文版ut not working in iOS 4.0. Any body affected by using this.

I am using the below code in my application which works perfectly in iPhoneOS 3.1.3 b开发者_StackOverflow中文版ut not working in iOS 4.0. Any body affected by using this.

NSString *currentPhoneNumber = [[NSUserDefaults standardUserDefaults] objectForKey:@"SBFormattedPhoneNumber"];


It appears that the SBFormattedPhoneNumber key/value data has been removed from the NSUserDefaults object as of 4.0. No device number retrieval love; can't really say that the writing wasn't on the wall based upon Dylan's response to this thread.

0

精彩评论

暂无评论...
验证码 换一张
取 消