聊天界面中,长按某个对话,弹出窗口,可以进行选中,复制。
该弹出窗口的坐标确定 用以下方法
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
CGRect popoverRect = [tableView convertRect:[tableView rectForRowAtIndexPath:indexPath] toView:[tableView superview]];
}