uiviewcontroller - iPhone: how can I activate a text field programmatically (and not wait for the user to touch it) -


I have a UIViewController that is a UITextFieldDelegate, and I want to reveal the keyboard to my text area as a user. Actually, without touching the text field, they go to this scene. It would be nice to be able to "dismiss" the whole scene when the keyboard is dismissed. I am loading footage from a xib file

I do not have an Iwer in the code for the UITFFIELD so far. I think I need one at this time I just rely on the representative to pop up the keyboard.

(I know this is not a UIText view delegate, as the tag says, but I'm new to StackoverView and can not make the right UITFold deleted tag.)

Looks like you want to use [TextField beFirstResponder] viewDidapper .


Comments