您的位置:首页 > 产品设计 > UI/UE

获取 UITableView 单个cell 的坐标点位置

2015-02-09 14:30 387 查看
聊天界面中,长按某个对话,弹出窗口,可以进行选中,复制。

该弹出窗口的坐标确定 用以下方法

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

{
CGRect  popoverRect = [tableView convertRect:[tableView rectForRowAtIndexPath:indexPath] toView:[tableView superview]];

}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: