views:

19

answers:

0

How can I show the keyboard when my popover shows up?

The popover is UIViewController that I call from a popoverController.

The popover has an UITextField and when the popover is displayed, the keyboard need to show up too and the cursor go to the UITextfield.

I tried to put the becomeFirstResponder under viewDidLoad or viewWillLoad, and not work.

 [userValue becomeFirstResponder];    

What I miss? That's all folks. Thanks.