将 UIActivityIndicator 添加到 UITableView
我在其他帖子中看到了很多关于此的解释,但没有任何实际效果。
我有一个 uitableview,需要几秒钟才能从 rss feed 中填充。在 viewdidload 中我想开始为指示器设置动画。我想在数据加载时结束它。
有没有人有通过代码而不是通过界面生成器来执行此操作的解决方案?
I have seen a lot of explanation about this in other posts but nothing that actually works.
I have a uitableview that takes a few seconds to populate from an rss feed. in viewdidload I want to start animating the indicator. I want to end it when my data loads.
Does anyone have a solution for doing this through code and not through interface builder?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看一下 Three20 库: https://github.com/facebook/ Three20
它有表格视图开箱即用的组件。我想集成这个比尝试从头开始重新创建整个事情要容易得多
Take a look at the Three20 library: https://github.com/facebook/three20
It has Table View component that does what you need out of the box. I imagine it'll be a lot easier to integrate this than trying to recreate the whole thing from scratch