NSDataDetector(types: NSTextCheckingResult.CheckingType.phoneNumber.rawValue)
I applied this code for phone number validation. Does anyone know for what phone number convention is this applicable (eg: E.164, Europe, US) or the regex behind it?
I didn't find anything in the Apple documentation and I need this in order to apply the same phone number validation also for Android.