开发者

UIPickerview-Scrolling from Top

开发者 https://www.devze.com 2023-04-11 09:06 出处:网络
In IOS, how is it possible to make UIPickerview开发者_如何学JAVA start scrolling directly from the top?

In IOS, how is it possible to make UIPickerview开发者_如何学JAVA start scrolling directly from the top? (or to put it differently, is it possible to remove the blank white areas from the top and bottom?) Thanks.


No, that is impossible until now.
But when your Xib is loaded and you want to ful fill your pickerview then automatically scroll that.

[pickerView selectRow:4 inComponent:0 animated:YES];
0

精彩评论

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

关注公众号