• 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
how do you set the value of a UIPickerView programatically? [solved]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how do you set the value of a UIPickerView programatically? [solved]


  • Subject: how do you set the value of a UIPickerView programatically? [solved]
  • From: Paul Archibald <email@hidden>
  • Date: Tue, 12 Jan 2010 12:26:01 -0800

First, sorry about my last post with the "RE:Contents of ..." title. My bad.

Anyhow, I figured out what was wrong. Seems you need to call [self.view addSubview:picker] to "hook up" the picker to the view controller. I am doing that in my viewDidLoad method.

Regards,
Paul


_______________________________________________

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


  • Follow-Ups:
    • Re: how do you set the value of a UIPickerView programatically? [solved]
      • From: David Duncan <email@hidden>
  • Prev by Date: Re: (void *)contextInfo
  • Next by Date: Re: how do you set the value of a UIPickerView programatically?
  • Previous by thread: Re: Snapshotting hidden UIViews
  • Next by thread: Re: how do you set the value of a UIPickerView programatically? [solved]
  • Index(es):
    • Date
    • Thread