// 先计算cell的位置,再转化到view中的位置.
CGRect rectInTableView = [tableView rectForRowAtIndexPath:indexPath];
CGRect rectInSuperView = [tableView convertRect:rectInTableView toView:[tableView superview]];
NSLog(@"____ %@",NSStringFromCGRect(rectInSuperView));
如何获得UITableViewCell 在屏幕中的位置
最新推荐文章于 2024-06-28 17:42:37 发布