I can not get the screen to work in .portraitUpsideDown mode.
All four Supported interface orientations are included in the target settings, all four for both Iphone and Ipad are also registered in plist. But:
self.supportedInterfaceOrientations.contains(.portraitUpsideDown).description The result is false:
let value = UIInterfaceOrientation.portraitUpsideDown.rawValue UIDevice.current.setValue(value, forKey: "orientation") Attempting to turn the screen upside down programmatically - failed. How to enable (programmatically) the ability to work with this provision?