开发者

SBFormattedPhoneNumber issue in iOS4.0

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜