Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
默认的 UIPickerView 显示当前选择以及上面的两个选项和当前部分下面的两个选项。
有没有办法调整这个节目,让它在给定的时间显示更多的线条?
UIPickerView 的高度是固定的,不能调整。
这是一个类似问题的链接,其中包含有关如何更改高度的答案,尽管UIPickerView. 如何更改 UIPickerView 高度
UIPickerView