在我嘗試使用艾哈邁德·阿卜杜勒 - 卡德爾的崗位上自動格式化電話號碼,即 http://the-lost-beauty.blogspot.com/2010/01/auto-formatting-phone-number.html ,我得到:收到錯誤嘗試使用PhoneNumberFormatter
上線「未知類型名‘PhoneNumberFormatter’;你意思是'NSNumberFormatter'?「
:
PhoneNumberFormatter* phoneNumberFormatter = [[PhoneNumberFormatter alloc] init];
缺少什麼我在這裏?
你有沒有'#import'.h文件? – 2012-03-17 01:13:00