@interface PSPDFAppearanceModeManager : NSObject <PSPDFOverridable>
class PDFAppearanceModeManager : NSObject, Overridable
Coordinates appearance mode changes.
On iOS versions prior to iOS 13, this class will update the PDF page rendering style, as well as the UI appearance of certain UI widgets when transitioning in and out of the dark interface style.
On iOS 13 and later the this class will only change the PDF page rendering style. Any UI appearance changes should be instead handled by the host application via the delegate methods this class offers.
Sets the appearance mode.
func setAppearanceMode(_ appearanceMode: PDFAppearanceMode, animated: Bool)
The new mode to apply.
Fades any theme changes if set to
true. This parameter is not relevant on iOS 13 and later.