PSPDFAppearanceModeManager
Objective-C
@interface PSPDFAppearanceModeManager : NSObject <PSPDFOverridable>
Swift
class PDFAppearanceModeManager : NSObject, Overridable
Coordinates appearance mode changes.
This class will only update the PDF page rendering style. Any UI appearance changes should be instead handled by the host application via the delegate methods this class offers.
-
The currently selected appearance mode. Defaults to
PSPDFAppearanceModeDefault
.Declaration
Objective-C
@property (nonatomic) PSPDFAppearanceMode appearanceMode;
Swift
var appearanceMode: PDFAppearanceMode { get set }
-
The appearance delegate. Can be used to customize the default behaviors for each mode.
Declaration
Objective-C
@property (nonatomic, weak) id<PSPDFAppearanceModeManagerDelegate> _Nullable delegate;
Swift
weak var delegate: AppearanceModeManagerDelegate? { get set }