Reputation: 493
The text field cursor is only visible after calling textField.becomeFirstResponder()
and is invisible after textField.resignFirstResponder()
. But I want to make visible the cursor after textFieldDidEndEditing
or before textFieldShouldBeginEditing
.
Then what can I do?
Upvotes: 1
Views: 2118
Reputation: 70
I don't think UITextField can display a cursor while it isn't the first responder. Maybe you can try making a custom UITextField subclass?
Upvotes: 1