Performs layout of the inner views.
- iOS 11.0+
- macOS 10.4+
- Mac Catalyst 13.0+
PDFView actually contains several subviews, such as the document view (where the PDF is actually drawn) and a “matte view” (which may appear as a gray area around the PDF content, depending on the scaling). Changes to the PDF content may require changes to these inner views, so you must call this method explicitly if you use PDF Kit utility classes to add or remove a page, rotate a page, or perform other operations affecting visible layout.
This method is called automatically from
PDFView methods that affect the visible layout (such as setDocument:, setDisplayBox: or