ort*_*t11 3 iphone uitableview ipad reloaddata ios
代替
[table reloadData]
Run Code Online (Sandbox Code Playgroud)
有没有办法告诉表重新加载一行?我有疯狂的原因.
它在文档中.该方法被调用reloadRowsAtIndexPaths:withRowAnimation:.所以你要做的事情如下:
NSArray *indexPaths = [NSArray arrayWithObjects:
[NSIndexPath indexPathForRow:5 inSection:2],
// Add some more index paths if you want here
nil];
[tableView reloadRowsAtIndexPaths:indexPaths withRowAnimation: UITableViewRowAnimationFade];
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1995 次 |
| 最近记录: |