IPad: event handler for the "Next" / "Enter" key?

How do you catch the key event "Enter" in UITextFIeld on an iPad?

+3
source share
1 answer

Implement the delegate method -textFieldShouldReturn:declared in the protocol UITextFieldDelegate. To make an object a delegate of a text field, set the property for this object delegate.

+4
source

Source: https://habr.com/ru/post/1743385/


All Articles