Atm*_*tma 19 iphone uitableview
我正在尝试在UITableViewController找到位置后重新加载数据.这也意味着在该viewDidLoad方法之后.我的类正在扩展UITableViewController这个界面:
@interface RootViewController : UITableViewController <UITableViewDelegate, UITableViewDataSource, CLLocationManagerDelegate>
Run Code Online (Sandbox Code Playgroud)
在实现中我尝试使用重新加载数据
[self.view reloadData];
Run Code Online (Sandbox Code Playgroud)
reloadData 似乎不是UITableViewController或视图的方法,因为我收到一个错误:
Messages without a matching method signature will be assumed to return 'id' and accept '...' as arguments
Run Code Online (Sandbox Code Playgroud)
有人可以发一些代码,如何重新加载像我的情况扩展的表视图?
cat*_*lan 49
你必须在UITableView结束时这样做[self.tableView reloadData];
| 归档时间: |
|
| 查看次数: |
22232 次 |
| 最近记录: |