UIMenuController shown in wrong position after Screen Rotation On iPad

I have a tableView that need to pop up UIMenuController. The menu is shown on correct position by called showMenuFromView:rect:, but after the device been rotated upside down, the same code won't working correct just as the snapshot, how to resolve this problem?

Does the problem occur when you launch in upside down ?

Please show the code where you call the menu. It is not possible to find otherwise. And tell if you have defined constraints.

UIMenuController shown in wrong position after Screen Rotation On iPad
 
 
Q