UITableView 与 UIScrollView 上的 UIPageControl 交互

发布于 2024-11-26 01:15:13 字数 409 浏览 6 评论 0原文

我有一个 UIScrollView、UIPageControl 和一个 UITableView 都在同一页面上,并带有来自我的服务器的解析数据。表视图和滚动视图是从不同的 xml 解析的,所以一切都很好,但是如果我在分页滚动视图的第 2-3-4-或 5 页上并触摸表视图,UIPageControl 将显示它移回到第 1 页,并且有关的信息第2-3-4-5页换到第1页,是否可以告诉tableView它与scrollview或page Indicator无关?

该代码是查看页面大部分内容所必需的,因此我附上了指向 Pastie.org 的链接

http://pastie.org/2265484< /a>

非常感谢任何帮助!谢谢你!

I have a UIScrollView, UIPageControl and a UITableView all on the same page with parsed data from my server. The tableview and scrollview are parsing from different xml's so all is well there, but if I am on page 2-3-4-or 5 of my paging scrollview and touch the tableview the UIPageControl shows it moves back to page 1 and the information on page 2-3-4-5 change to page 1. Is it possible to tell the tableView that it has nothing to do with the scrollview or page indicator?

The code is necessary to see most of the page so I attached I link to pastie.org

http://pastie.org/2265484

Any help is greatly appreciated! Thank you!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文