Hi everyone
I started to see crash in iOS 17 beta 8 when try to show UIPrintInteractionController
for iOS 16 and less it works fine
let vc = UIPrintInteractionController.shared
vc.printingItem = pdfFileUrl
vc.present(animated: true) { (controller, success, error) in }
UIApplicationInvalidInterfaceOrientation', reason: 'Supported orientations has no common orientation with the application, and [UIPrintPanelNavigationController shouldAutorotate] is returning YES
App supported only portrait orientation
in AppDelegate
func application(_ application: UIApplication, supportedInterfaceOrientationsFor window: UIWindow?) -> UIInterfaceOrientationMask {
return .portrait
}