iOS 17 crash on UIDocumentInteractionController 'Print' option

When showing PDF document in UIDocumentInteractionController and when tap on share button > Print, app crash. Below is the crash log

*** Terminating app due to uncaught exception 'UIApplicationInvalidInterfaceOrientation', reason: 'Supported orientations has no common orientation with the application, and [UIPrintPanelNavigationController shouldAutorotate] is returning YES'

It's a iPad app supporting Landscape orientation only. And its in Objective C.

Replies

I'm thinking it only supports portrait orientation.