According to the documentation (“Interface Behaviors” section), if we need to support different orientations for the controllers in a navigation view, we should use “navigationControllerSupportedInterfaceOrientations” via delegation. Thus, we would be able to return the preferred orientation of each of the controllers by overriding, for…

Here is my Code it work perfectly in iOS 12 but for iOS 13 code can’t give exactly values             let pdfViewGestureRecognizer = PDFViewGestureRecognizer()          pdfView.autoScales = true             pdfView.displayMode = .singlePage             pdfView.displayDirection = .horizontal             pdfView.usePageViewController(true, withViewOptions:…