获取点击的cell的frame
2016-07-27 本文已影响0人
昵称输入
CGRect frame = [[tableView cellForRowAtIndexPath:indexPath] frame];
CGRectMake(frame.origin.x, frame.origin.y-tableView.contentOffset.y, frame.size.width, frame.size.height)
可以通过这个实现不遮挡点击的cell的效果,类似这样
点击前:

点击后:
