Explorar o código

Improvements

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana %!s(int64=2) %!d(string=hai) anos
pai
achega
ed9a94115d
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      iOSClient/Viewer/NCViewerPDF/NCViewerPDF.swift

+ 1 - 0
iOSClient/Viewer/NCViewerPDF/NCViewerPDF.swift

@@ -78,6 +78,7 @@ class NCViewerPDF: UIViewController, NCViewerPDFSearchDelegate, UIGestureRecogni
         pdfView = PDFView(frame: CGRect(x: 0, y: 0, width: view.frame.width, height: view.frame.height))
         pdfView.translatesAutoresizingMaskIntoConstraints = false
         pdfView.document = pdfDocument
+        pdfView.autoScales = true
         pdfView.displayMode = .singlePageContinuous
         pdfView.displayDirection = .vertical
         pdfView.maxScaleFactor = 4.0