电影结尾处的uitableview的动画卷轴

发布于 2025-01-22 07:35:21 字数 160 浏览 4 评论 0原文

我必须为我的应用程序的积分制作一个屏幕,该学分与电影结束时的信用一样。我正在使用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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

原野 2025-01-29 07:35:21

假设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's scrollRectToVisible(_:animated:) method to animate the view.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文