如何在应用程序启动时添加拉动刷新?
应用程序启动时,UITableView 自动拉动刷新,无需任何滚动。
有什么建议或建议吗?
At app launch,the UITableView automatic pull to refresh without any scroll.
Any tips or advices?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我通过以下方式添加了拉动刷新: http://www.cocoanetics.com/2009/12/how-to-make-a-pull-to-reload-tableview-just-like-tweetie-2/< /a>.在应用程序启动时,只需手动调用刷新函数即可。
I added a pull-to-refresh by following: http://www.cocoanetics.com/2009/12/how-to-make-a-pull-to-reload-tableview-just-like-tweetie-2/. On app launch just manually call your refresh function.
有一个 github 项目,其中有一个实现拉动刷新的组件:
https://github.com/enormego/EGOTableViewPullRefresh
There's a github project with a component that implements pull to refresh:
https://github.com/enormego/EGOTableViewPullRefresh