• 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
UIPickerView joy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UIPickerView joy


  • Subject: UIPickerView joy
  • From: Alex Zavatone <email@hidden>
  • Date: Tue, 20 Mar 2012 16:05:23 -0400

I just noticed something lovely in iOS 4.x and UIPickerView related and am looking to confirm with the group

It appears that setting the height of a UIPicker ist verboten.
I've run in iOS 4.x and 5.0 in the simulator and on devices and it appears that the height is somewhat fixed - in most cases.

Also, a quick googling brings up this note:
Also there are 3 valid heights for UIDatePicker (and UIPickerView) 162.0, 180.0, and 216.0. If you set a UIPickerView height to anything else you will see the following in the console when debugging on an iOS device.


However, on iOS 4.x, it appears that there is some exception to the height in that it can't be set to any of the smaller values.  Is there any special mojo that needs to be done with setting UIPickerView frames?  Must all the CGRectMake values be floats?

TIA,

- Alex Zavatone



_______________________________________________

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: UIPickerView joy
      • From: Luke Hiesterman <email@hidden>
  • Prev by Date: Odd initial save behavior with bundle based NSDocument
  • Next by Date: Re: How is this an "incorrect decrement of a reference count"?
  • Previous by thread: Re: Odd initial save behavior with bundle based NSDocument
  • Next by thread: Re: UIPickerView joy
  • Index(es):
    • Date
    • Thread