// 目标view的直接父viwe 目标view 要转换到的view
[self.backgroundMsgView convertRect:self.chatImageView.frame toView:[UIApplication sharedApplication].keyWindow];
// 目标view的直接父viwe 目标view 要转换到的view
[self.backgroundMsgView convertRect:self.chatImageView.frame toView:[UIApplication sharedApplication].keyWindow];