Show keyboard with a UIPopover?

You need to make the textField the first responder, not the popover itself. Just because you make an object the first responder, doesn't mean it will show the keyboard. It needs to be an object with text entry properties, like a UITextField, to display the keyboard.

Up vote 0 down vote favorite share g+ share fb share tw.

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.

Cocoa-touch ipad keyboard-events uipopovercontroller link|improve this question asked Sep 30 '10 at 20:55Marcos Issler507.

You need to make the textField the first responder, not the popover itself. Just because you make an object the first responder, doesn't mean it will show the keyboard. It needs to be an object with text entry properties, like a UITextField, to display the keyboard.

- (void)viewDidAppear:(BOOL)animated{ _textField becomeFirstResponder; super viewDidAppear:animated; } You can call the method above if you want that particular textField to be the first responder, with keyboard, each time the popover is displayed. Remember, this method is called AFTER the popover is loaded. Hope this helps.

Assign the first responder in the viewWillAppear method.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions