PSPDFAppearanceModeManagerDelegate

Objective-C

@protocol PSPDFAppearanceModeManagerDelegate<NSObject>

@optional

/// Provides the document render options for the specified mode.
///
/// @param manager A reference to the invoking appearance mode manager.
/// @param mode The mode that is about to be applied.
///
/// @note Overrides the default behavior, if implemented.
- (PSPDFRenderOptions *)appearanceManager:(PSPDFAppearanceModeManager *)manager renderOptionsForMode:(PSPDFAppearanceMode)mode;

/// Update any UIAppearance changes for the selected mode.
///
/// Can be used to customize the application interface for the selected mode.
/// On iOS 13 and later this can be done using `overrideUserInterfaceStyle`
/// available on `UIViewController` or a `UIView`.
///
/// @param manager A reference to the invoking appearance mode manager.
/// @param mode The mode that is about to be applied.
///
/// @note Overrides the default behavior present on iOS versions prior to iOS 13, if implemented.
- (void)appearanceManager:(PSPDFAppearanceModeManager *)manager applyAppearanceSettingsForMode:(PSPDFAppearanceMode)mode;

/// Update `builder` with any settings specific to the provided `mode`.
///
/// @param manager A reference to the invoking appearance mode manager.
/// @param builder The controller configuration that can be updated.
/// @param mode The mode that is about to be applied.
///
/// @note Overrides the default behavior present on iOS versions prior to iOS 13, if implemented.
- (void)appearanceManager:(PSPDFAppearanceModeManager *)manager updateConfiguration:(PSPDFConfigurationBuilder *)builder forMode:(PSPDFAppearanceMode)mode;

@end

Swift

protocol AppearanceModeManagerDelegate : NSObjectProtocol

Undocumented