I have some data coming from server in form of string. The string might contain a phone number or mailing address or a web address apart from other information. Is there some way I can identify which part is phone number or mail address or web address?
In Android there is some API which can actually tell this. I was wondering if there is any such support in iPhone too.
Use this thread. This thread will explain how to get URL and PhoneNumbers using NSDataDetector NSDataDetector with NSTextCheckingTypeLink detects URL and PhoneNumbers!