iPhone web views - detecting short phone numbers
Posted
by Pedro
on Stack Overflow
See other posts from Stack Overflow
or by Pedro
Published on 2010-05-29T05:52:02Z
Indexed on
2010/06/05
7:42 UTC
Read the original article
Hit count: 420
G'day All
Most Australian phone numbers are 10 digits with the 1st 2 optional if they're a local area code. For those setting...
viewer.dataDetectorTypes = UIDataDetectorTypePhoneNumber;
on a web view works. We also have a range of 6 digit phone numbers (usually written xxx xxx or xx xxxx) which aren't being detected in my app. Is there a way to detect those phone numbers as well?
Cheers & TIA, Pedro :)
© Stack Overflow or respective owner