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 (Cocoa-dev@lists.apple.com)
>
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/luketheh%40apple.com
>
> This email sent to luket...@apple.com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com