In my attempt to use Ahmed Abdelkader’s post on Auto Formatting a Phone Number, i.e.,
http://the-lost-beauty.blogspot.com/2010/01/auto-formatting-phone-number.html
this, I get:
“Unknown type name ‘PhoneNumberFormatter’; did you mean ‘NSNumberFormatter’?”
on the Line:
PhoneNumberFormatter* phoneNumberFormatter = [[PhoneNumberFormatter alloc] init];
What am I missing here?
You don’t have the necessary class implemented or imported in your project.
This is what you’re missing.