UIMenuController orientation

hi all, is it possible to control the orientation of the UIMenuController popup menu or does it always follow the status bar orientation like so many other things do?

see attached. main app is in portrait but some uses are in a landscape mode. but the status bar is still portrait in this case. so we would like to force rotate the popup menu to be in landscape mode.

UIMenuController (and UIEditMenuInteraction, which replaced UIMenuController in iOS 16) follows the orientation of the view it is presented from. In this case, if the UI is in landscape, the main app's window should also rotate to that orientation as any system UI would otherwise be in the wrong orientation.

UIMenuController orientation
 
 
Q