Does Control in IPhone has Lost Focus Action?
In Vb.net we have that sort of thing right.
However, in beginning IPhone development, by David Mark, the way the author implement removing keyboard when a user tap outside the text box is b开发者_C百科y turning the whole view into a control and then create an IBaction for that view being touch.
Why not the text box touch up outside or touch down outside? Is this the normal way?
Yes it is the normal way of doing out of focus. Or you can implement UITextFieldDelegate metod textFieldShouldReturn. Where you call resignFirstResponder for a particular text field.
精彩评论