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.
///
/// 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.
- (void)appearanceManager:(PSPDFAppearanceModeManager *)manager applyAppearanceSettingsForMode:(PSPDFAppearanceMode)mode PSPDF_DEPRECATED_IOS(10.5, "Appearance mode changes only affect page rendering and should no longer be used for UI customization.");

/// 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.
- (void)appearanceManager:(PSPDFAppearanceModeManager *)manager updateConfiguration:(PSPDFConfigurationBuilder *)builder forMode:(PSPDFAppearanceMode)mode PSPDF_DEPRECATED_IOS(10.5, "Appearance mode changes only affect page rendering and should no longer be used for UI customization.");

@end

Swift

protocol AppearanceModeManagerDelegate : NSObjectProtocol

Undocumented