iOS cell选中背景一闪而过

2017-06-20  本文已影响0人  梦iOS

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

//在此方法内写上这句,背景颜色一闪而过

[tableView deselectRowAtIndexPath:indexPath animated:YES];

}

上一篇 下一篇

猜你喜欢

热点阅读