has four special color modes: dark mode, sepia mode, reseda mode, and custom color mode.
In dark mode, colors are adjusted to improve reading at night or in a poorly-lit environment, in sepia mode, background color is set to emulate the look of an old book, in reseda mode, light-green background is displayed to protect your eyes after long-time reading, and in custom color mode, you can set a custom color for the background color.
Note: Changing the appearance mode will change the PDF rendering style, but it does not modify the PDF on disk.
To set the color mode:
1. Find the constant value of the color mode
4. Update to redraw the contents.
You also can configure the color mode of in
CPDFKitShareConfig.displayMode = CPDFDisplayModeCustom; CPDFKitShareConfig.displayModeCustomColor = [UIColor whiteColor];