在 iOS 中从 UIView 子视图重新加载时 UITableView 未重新加载

UITableView not reloading while reload from UIView subview in iOS

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

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