【问题标题】:UITableView not reloading while reload from UIView subview in iOS从 iOS 中的 UIView 子视图重新加载时 UITableView 未重新加载
【发布时间】:2015-03-11 06:19:07
【问题描述】:

我现在在视图控制器中查看 uiview 子视图,我已经在 - (id)initWithFrame:(CGRect)frame 方法中调用了 Web 服务,在重新加载 Web 服务数据 tableView 时也没有重新加载响应。任何想法提前谢谢。

【问题讨论】:

标签: ios uiview tableview subview reloaddata


【解决方案1】:

重新加载UITableView时验证是否有数据。您可以通过在 numberOfSections 和 numberOfRowsInSections 方法中放置断点来检查这一点。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-08-01
    • 2018-02-21
    • 2013-08-19
    • 1970-01-01
    • 2011-08-26
    • 1970-01-01
    相关资源
    最近更新 更多