获取cell的相对位置

2016-04-12  本文已影响78人  Windream
    UITableViewCell* cell = [tableView cellForRowAtIndexPath:indexPath];
    CGRect rect = [keyWindow convertRect:CGRectMake(0, 0, cell.frame.size.width, cell.frame.size.height) fromView:cell];
上一篇 下一篇

猜你喜欢

热点阅读