电影结尾处的uitableview的动画卷轴
我必须为我的应用程序的积分制作一个屏幕,该学分与电影结束时的信用一样。我正在使用UitextView,但是我们需要像桌面这样的粘性标头。因此,我切换到了,但是不确定如何自动化/动画,将Uaithitview慢慢滚动到底部。一旦到达那里,我将重新加载数据并再次运行,除非您关闭视图控制器。
谢谢
I have to make a screen for the credits of my app that behaves like the credits at the end of a movie. I was using a uitextview but we need sticky headers like a tableview. So I switched to that but am unsure how to automate/animate slowly scrolling the uitableview to the bottom. Once there I would reload the data and run it again unless you close the view controller.
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
假设uietableview是最有意义的,并且您需要通过动态来满足(如果是静态的,则可以使用pdf和uiimageView),您需要获取周围的
uiscrollview
并调用它的> scrollRectTovisible(_:animated:)
动画视图的方法。Assuming that a UITableView makes the most sense and you need to content to by dynamic (if it's static you could just use a PDF and a UIImageView) you need to get the surrounding
UIScrollView
and call it'sscrollRectToVisible(_:animated:)
method to animate the view.