开发者

xcode iphone UIPickerView

开发者 https://www.devze.com 2023-04-07 19:31 出处:网络
My UIPickerView hits the didSelectRow method without actually clicking on the item开发者_如何学Go in the list.All you have to do is flick the list to scroll and when it list stops scrolling it automat

My UIPickerView hits the didSelectRow method without actually clicking on the item开发者_如何学Go in the list. All you have to do is flick the list to scroll and when it list stops scrolling it automatically fires this method. How can I fix this?


As herz said, this is simply how the UIPickerView behaves. You don't have to actually tap on the row to select it.

0

精彩评论

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

关注公众号