PSPDFBrightnessViewController
Objective-C
@interface PSPDFBrightnessViewController
: PSPDFStaticTableViewController <PSPDFOverridable>
Swift
class BrightnessViewController : PDFStaticTableViewController, Overridable
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 themodalPresentationStyle
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 (nonatomic, nullable) PSPDFAppearanceModeManager *appearanceModeManager;
Swift
var appearanceModeManager: PDFAppearanceModeManager? { get set }
-
Possible appearance modes. The appearance UI is not shown if only
PSPDFAppearanceModeDefault
is set (default value).Declaration
Objective-C
@property (nonatomic) PSPDFAppearanceMode allowedAppearanceModes;
Swift
var allowedAppearanceModes: PDFAppearanceMode { get set }