PSPDFBrightnessViewController


@interface PSPDFBrightnessViewController : PSPDFStaticTableViewController

Controller to change the brightness and some related appearance options. In addition to mimicking the system brightness options it also supports additional software dimming and social appearance modes.

Note

Best presented as popover, configures the modalPresentationStyle accordingly at init time.
  • The appearance manager responsible for the appearance mode. The appearance UI is not shown if this property is nil (default value).

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic, nullable)
        PSPDFAppearanceModeManager *appearanceModeManager;

    Swift

    var appearanceModeManager: PSPDFAppearanceModeManager? { get set }
  • Possible appearance modes. The appearance UI is not shown if only PSPDFAppearanceModeDefault is set (default value).

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic)
        PSPDFAppearanceMode allowedAppearanceModes;

    Swift

    var allowedAppearanceModes: PSPDFAppearanceMode { get set }