I have been working on an iOS app which uses CNC communications to move motors and so the iPhone in my app is mounted on the holder on a machine. Since it is held on a machine, the user views its iPhone device upside down. My question is, my app was working very well in portrait upside down (The entire app including the launch screens, UIAlertViews and VC's) till I had updated it to the iOS 16. Now I am not getting the methods to get it back to the upside down mode.
Basically, I want the application to run upside down.
Kindly help
override var supportedInterfaceOrientations: UIInterfaceOrientationMask {
return .portraitUpsideDown
}