Re: [IPhone 3.0] How do I make a UITextField the first responder?
Re: [IPhone 3.0] How do I make a UITextField the first responder?
- Subject: Re: [IPhone 3.0] How do I make a UITextField the first responder?
- From: Luke the Hiesterman <email@hidden>
- Date: Tue, 25 Aug 2009 06:38:34 -0700
Obvious question is, then, where are you calling it?
Luke
On Aug 25, 2009, at 6:37 AM, Andy Lee wrote:
On Aug 25, 2009, at 9:34 AM, Luke the Hiesterman wrote:
On Aug 25, 2009, at 6:33 AM, Andy Lee wrote:
You seem to be right about this part -- becomeFirstResponder
doesn't bring up the keyboard for me, or I'm doing something wrong.
Are you sure the text field isn't nil when you're calling this?
Maybe it's loaded from a nib and you forgot to wire up the outlet?
First thing I checked. :)
A quick look on StackOverflow suggests the code should go into
viewDidAppear:animated:. Itching to try this but I have to run to
work...
--Andy
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden