I have a UI with three text fields and one button. All three text fields use the Number Pad keyboard, which don't have a Return key to hide the keyboard.
What I'm looking for is that when I tap the button, the text field that has the focus (one always does), loses focus. I don't know which text field will have the focus when the button is tapped.
All the text field implement delegates.
My first thought was to send a simulated return key with the button tap, but I couldn't figure out how to do this. I tried the textfielf.end-editing() with a couple of different delegate methods, but it didn't work.
Can anybody suggest a way to remove the focus from a text field?
Thanks