Asks the delegate if editing should begin in the specified text field.
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
The text field in which editing is about to begin.
YES if editing should begin or
NO if it should not.
The text field calls this method when the user performs an action that would normally initiate the editing of the text field’s text. Implement this method if you want to prevent editing from happening in some situations. For example, you could use this method to prevent the user from editing the text field’s contents more than once. Most of the time, you should return
YES to allow editing to proceed.
If you do not implement this method, the text field acts as if this method had returned