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

Re: UIPickerView joy


  • Subject: Re: UIPickerView joy
  • From: Luke Hiesterman <email@hidden>
  • Date: Tue, 20 Mar 2012 21:45:44 +0000
  • Thread-topic: UIPickerView joy

Only the three heights you identified are supported. There isn't special sauce for getting around that, though enforcement wasn't always there in the past.

Luke

On Mar 20, 2012, at 1:05 PM, Alex Zavatone wrote:

> 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


_______________________________________________

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: 
 >UIPickerView joy (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Re: How to get max size of view according to constraints?
  • Next by Date: Re: How to get max size of view according to constraints?
  • Previous by thread: UIPickerView joy
  • Next by thread: NSDate interval formatting
  • Index(es):
    • Date
    • Thread