获取 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]]; }
相关文章推荐
- 获取tableView(UICollectionViewCell)中cell相对于(UICollectionView)tableView.superView的区域坐标(位置)
- 获取UITableView 的cell 及其cell上的controll
- UITableView获取cell的indexPath
- UITableView的cell的分割线位置
- 关于 UITableView 中 网络获取图片 cell 自适应高度的问题
- 坐标相关的 android应用程序中获取view的位置
- ios tableView那些事 (十四) 获取 tableview 每个cell 的坐标点
- UITableView如何获取所有的cell
- UITableView的分割线从最左侧开始, 右箭头,分割线颜色; UITableViewCell中ImageView位置大小控制
- UITableView中Cell的位置交换
- iOS开发-UI控件:CollectionView 获取指定位置的cell
- UITableview中如何获取点中的是哪一个cell
- ios UITableView 获取点击cell对象
- UITableView获取cell的row值
- 获取datagridview 对应cell的位置坐标
- UITableView获取cell的row值(解决自定义cell里的button通过点击无法获得cell的indexpath的问题)
- UITableView获取当前选中的cell
- 如何获取UITableView中cell的frame值
- iOS 获取当前点击的cell相对于self.view的位置
- UITableView reload 单个 cell 的数据