• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [IPhone 3.0] How do I make a UITextField the first responder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >[IPhone 3.0] How do I make a UITextField the first responder? (From: Brian Bruinewoud <email@hidden>)
 >Re: [IPhone 3.0] How do I make a UITextField the first responder? (From: "Georg C. Brückmann" <email@hidden>)
 >Re: [IPhone 3.0] How do I make a UITextField the first responder? (From: Brian Bruinewoud <email@hidden>)
 >Re: [IPhone 3.0] How do I make a UITextField the first responder? (From: Andy Lee <email@hidden>)
 >Re: [IPhone 3.0] How do I make a UITextField the first responder? (From: Andy Lee <email@hidden>)
 >Re: [IPhone 3.0] How do I make a UITextField the first responder? (From: Luke the Hiesterman <email@hidden>)
 >Re: [IPhone 3.0] How do I make a UITextField the first responder? (From: Andy Lee <email@hidden>)

  • Prev by Date: Re: [IPhone 3.0] How do I make a UITextField the first responder?
  • Next by Date: NSImage with multiple representation sizes
  • Previous by thread: Re: [IPhone 3.0] How do I make a UITextField the first responder?
  • Next by thread: Re: [IPhone 3.0] How do I make a UITextField the first responder?
  • Index(es):
    • Date
    • Thread