在 iPhone 应用程序中自定义 UIPickerView
我想知道增加 UIPickerView 的“选择栏”的可能性 只是为了帮助手指较大的用户
请告诉我,这可能吗
I would like to know the possibility on increasing the "selection bar" of the UIPickerView
Just to aid the users who are all having the bigger fingers
Please let me know , is that possible
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为您实际上无法对选择器视图的默认 UI 执行任何操作。您可以尝试通过这样的代码创建选择器视图的高度,将其更改为您想要的高度。
但如果你真的想增加选择栏本身的高度,我想你可能必须制作一个图像并将图像添加到选择器视图中,我怀疑这是实现你想要的东西的优雅方式。所以我还是建议改变它的高度,让它看起来更大一点
I dont think you can actually do anything about the default UI of the picker view. You can try to change the height of the picker view to your desired height by creating it through the code like this.
But if you really want to increase the height of the selection bar itself, i think you might have to make an image and add the image to the picker view which i doubt is an elegant way of achieving what you want. So i would still suggest changing the height o it to make it look a little bigger