- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
// 1.取消选中这行
[tableView deselectRowAtIndexPath:indexPath animated:YES];
// 2.其他
}选择tableView的某一行时,马上取消当前选中行(选中样式不保留)
最新推荐文章于 2024-01-10 11:32:59 发布
本文详细介绍了使用Swift语言开发iOS应用的基本步骤,包括环境搭建、基础语法、UI设计、网络请求等核心内容,帮助开发者快速掌握iOS开发技巧。
2377

被折叠的 条评论
为什么被折叠?



