UITableViewCell 获取当前位置
CGRect rectInTableView = [tableView rectForRowAtIndexPath:indexPath];
CGRect rectInSuperview = [tableView convertRect:rectInTableView toView:[tableView superview]];
rectInTableView是UITableViewCell相对于tableView的rect
rectInSuperview是UITableViewCell相对于tableView父视图的rect

浙公网安备 33010602011771号