iOS - tableView中deselectRowAtIndexPath的做用

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { [tableView deselectRowAtIndexPath:indexPath animated:YES]; // 不加此句时,在二级栏目点击返回时,此行会由选中状态慢慢变成非选中状态。
相关文章
相关标签/搜索