我试图让我的tableView在rootViewController中重新加载后,我填充它的数组中创建一个新的对象。刷新rootViewController中的tableView数据
我想用我的RootViewController的的viewDidLoad中的以下内容:
[tableView reloadDate];
,但我得到的错误:
Use of undeclared identifier "tableView"
我想这是因为我还没有宣布对象tableView直到viewDidLoad方法之后。那么我还有什么其他选择可以刷新表格?
感谢
在这种情况下'tableView'是伊娃。我假设你有属性'tableView'。尝试编写'[self.tableView reloadData];' – beryllium