Interface UILargeContentViewerItem

    • Method Detail

      • largeContentImage

        UIImage largeContentImage()
        Returns an image that should be shown in the large content viewer.
      • largeContentImageInsets

        UIEdgeInsets largeContentImageInsets()
        Returns insets appropriate for positioning the image in the viewer so that it appears visually centered.
      • largeContentTitle

        java.lang.String largeContentTitle()
        Returns a title that should be shown in the large content viewer.
      • scalesLargeContentImage

        boolean scalesLargeContentImage()
        Returns whether the image should be scaled to a larger size appropriate for the viewer. If not, the image will be shown at its intrinsic size. For best results when scaling, use a PDF asset with its "Preserve Vector Data" checkbox checked.
      • showsLargeContentViewer

        boolean showsLargeContentViewer()
        Returns whether the item shows the large content viewer. In general, only views that cannot scale for the full range of Dynamic Type sizes should return YES. For this property to take effect, the item or an ancestor view must have a UILargeContentViewerInteraction.