UIPickerView joy
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