开发者

UIDatePicker changing size

开发者 https://www.devze.com 2023-02-06 17:51 出处:网络
How do I change the size of a UIDatePicker? Setting the frame doesn\'t seem to work. It only changes the size of the black background on a UIDatePicker, not the actual compo开发者_JS百科nents within t

How do I change the size of a UIDatePicker? Setting the frame doesn't seem to work. It only changes the size of the black background on a UIDatePicker, not the actual compo开发者_JS百科nents within the Picker.


You can only change the width of a UIPickerView.

However, a common user interface solution is to put the picker into an UIActionSheet (or other similar modal dialog).


It's not possible to change the size of a UIDatePicker, afaik.

0

精彩评论

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