In WWDC2020, a new feature was introduced in which the app can get Contact AutoFill by setting the Content Type of a UITextFiled.
This feature works on iOS 14.5 when the Content Type is set to email address but doesn't work for phone number.
Here's the two changes I'm making in my code:
textField.keyboardType = .phonePad
textField.textContentType = .telephoneNumber
Is there anything else that needs to be done or this is a known bug.