ios - How Does iPhone's Email app recognize an Address? -


i have been playing around iphone , realized email app of iphone can recognize if line within email represents address. interestingly enough works many address patterns. tried usa , germany, france , spain. in cases address highlighted blue link phone number be. question algorithm behind address detection?

check uidatadetectortypes in documentation. you'll find uidatadetectortypeaddress detects strings formatted addresses. add detector type uitextview.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -