mirror of
https://github.com/zhigang1992/RETableViewManager.git
synced 2026-04-28 12:45:34 +08:00
Example on how to use deselectRowAnimated
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
[_manager addSection:section];
|
||||
|
||||
[section addItem:[RETableViewItem itemWithTitle:@"Forms" accessoryType:UITableViewCellAccessoryDisclosureIndicator selectionHandler:^(RETableViewItem *item) {
|
||||
[weakSelf.tableView deselectRowAtIndexPath:item.indexPath animated:YES];
|
||||
[item deselectRowAnimated:YES]; // same as [weakSelf.tableView deselectRowAtIndexPath:item.indexPath animated:YES];
|
||||
[weakSelf.navigationController pushViewController:[[ControlsViewController alloc] initWithStyle:UITableViewStyleGrouped] animated:YES];
|
||||
}]];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user