聊天界面中,長按某個對話,彈出窗口,可以進行選中,複製。
該彈出窗口的座標確定 用以下方法
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
CGRect popoverRect = [tableView convertRect:[tableView rectForRowAtIndexPath:indexPath] toView:[tableView superview]];
}