How do you shrink a UIPickerView on the iPhone?

后端 未结 5 2012
梦毁少年i
梦毁少年i 2020-11-29 00:22

I would like to reduce the height of a UIPickerView in my iPhone app, so that it shows only one row and one column. The height of the picker view should be equ

5条回答
  •  迷失自我
    2020-11-29 00:57

    It is possible and easy!

    Just open the nib file as plain text, then find the picker view and adjust the measures:

    
    
    292
    {{85, 68}, {150, 116}}
    
    
    

    That's all!

    提交回复
    热议问题