I have a UITextView which is set with UIKeyboardType of .emailAddress I want to auto-suggest the user's email address with the UITextContentType property
I do so like so:
if #available(iOS 10.0, *) {
myTextView.textContentType = UITextContentType.emailAddress
}
However this is not working and I see no email in the suggestion box of the textview.
I have also tried the same thing with a UITextField but no dice.
Is there something I am missing? I have done everything according to the docs.
