开发者

At run-time, how can you adjust the dimensions of the UIPickerView UI window?

开发者 https://www.devze.com 2023-03-13 12:17 出处:网络
During run-time, how can you adjust the dimensions of th开发者_高级运维e UIPickerView UI window?

During run-time, how can you adjust the dimensions of th开发者_高级运维e UIPickerView UI window?

Thanks


The UIPickerView's height and width are unchangeable in iOS. This is mostly due to Apple's human interface guidelines guaranteeing consistency from the user's standpoint.

All you can do is change it's position on the screen.

The only way to create a UIPickerView with different dimensions would be to write your own Picker from scratch.

0

精彩评论

暂无评论...
验证码 换一张
取 消