iOS - tableView中deselectRowAtIndexPath的做用

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { [tableView deselectRowAtIndexPath:indexPath animated:YES]; // 不加此句時,在二級欄目點擊返回時,此行會由選中狀態慢慢變成非選中狀態。
相關文章
相關標籤/搜索