美文网首页
cell返回时取消阴影

cell返回时取消阴影

作者: 加菲猫哈哈哈哈 | 来源:发表于2018-07-24 18:33 被阅读10次

在这里加上句代码

- (void)tableView:(UITableView*)tableView didSelectRowAtIndexPath:(NSIndexPath*)indexPath

{

    //当手指离开某行时,就让某行的选中状态消失

    [tableView deselectRowAtIndexPath:indexPath animated:YES];

}

相关文章

网友评论

      本文标题:cell返回时取消阴影

      本文链接:https://www.haomeiwen.com/subject/hpsemftx.html