tags:

views:

47

answers:

1

How can I make a UITextField required? In other words, if the entry is empty, then refocus them on the required field.

+2  A: 

Set a delegate for your field, and implement -textFieldShouldEndEditing: in it.

Ben Gottlieb