Yes, i put it in textField become first responder
I tried following code in the same place due to check if this is right place
textField.selectedTextRange = textField.textRange(from: textField.beginningOfDocument, to: textField.endOfDocument)
And it works - selects all text in text field
It seems to me selectedTextRange doesn't work if range has zero length
Topic:
App & System Services
SubTopic:
Core OS
Tags: