Tag: NSDataDetector

How to detect URLs, Addresses, Phone Numbers and Dates using NSDataDetector

Using NSDataDetector class we can detect URLs, addresses, phone numbers and dates inside any string. Using below code snippet you can detect these and also find their range respectively. The… Read more »