码迷,mamicode.com
首页 > 其他好文 > 详细

cell选中让其取消选中

时间:2015-06-13 14:08:30      阅读:106      评论:0      收藏:0      [点我收藏+]

标签:

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

    

    [tableView deselectRowAtIndexPath:indexPath animated:YES];

    //[self performSegueWithIdentifier:@"toplay" sender:nil];

}

 

这样cell就不会一直显示难看的选中状态了

cell选中让其取消选中

标签:

原文地址:http://www.cnblogs.com/yintingting/p/4573309.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!