如何识别 UIPickerView 上的滚轮旋转动画?
我正在使用 iPhone 应用程序,其中我有一个场景,其中我必须确定当用户在 UIPIckerView 上的组件上滑动时轮子旋转动画何时开始。
我应该在哪里使用
[UIPickerView setAnimationWillStartSelector:@selector()];
方法来识别动画开始事件。
请任何人建议我一个解决方案来实现这一目标。
谢谢大家。
I am working with a iPhone app,where i have a scenario in which i have to identify when the wheel rotating animations starts when the user swipes over the component on the UIPIckerView.
Where should i use
[UIPickerView setAnimationWillStartSelector:@selector()];
method to identify the animation started event.
Please any body suggest me a solution to make this happen.
Thank you one and all.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
桑卡尔·钱达拉·博斯。您可以使用 UIPickerView 委托/数据源来识别 UIPickerView 滚轮旋转。
您可以从此委托获取 UIPickerView 滚轮滑动操作和当前行。我希望你能从我的回答中得到一些想法。谢谢。
Sankar Chandara Bose. You can identify the UIPickerView wheel rotation by using the UIPickerView delegate/datasource.
You can get the UIPickerView wheel swipe action and current row from this delegate. I hope you got any ideas from my answer. Thanks.