If the cover option is set, this is showed until the play button is pressed.See more
@interface PSPDFMediaPlayerCoverView : UIView
class PSPDFMediaPlayerCoverView : UIView
Display a single PDF page. View is reused. You can add your own views on top of theSee more
annotationContainerView(e.g. custom annotations) Events from a attached
UIScrollViewwill be relayed to all visible
The user interface view will relay touches of subviews, but won’t react on touches on this actual view itself.
NoteThis is achieved with overriding
A container view cannot draw content in itself.
It uses a
CATransformLayeras backing. This allows blend mode pass-through, and is more lightweight than a regular view.
UIStackViewuses the same trick for being a purely managing container.
@interface PSPDFContainerView : UIView
class PSPDFContainerView : UIView
Handles text and image selection on a page.
Don’t manually create this class. The initializer here is not exposed.
The selection color is determined by theSee more
tintColorproperty inherited from
UIView. On Mac Cataylst, the
tintColoris set to
unemphasizedSelectedContentBackgroundColor, depending if the current window is the key window or not.
@interface PSPDFTextSelectionView : UIView <AVSpeechSynthesizerDelegate>
class PSPDFTextSelectionView : UIView, AVSpeechSynthesizerDelegate
Button that can use a modern (blurred) or flat style.
You can use UIAppearance to customize the main properties.
[PSPDFStyleButton appearance].buttonStyle = PSPDFButtonStyleFlat; [PSPDFStyleButton appearance].backgroundColor = [UIColor colorWithWhite:0.1 alpha:0.8]; [PSPDFStyleButton appearance].tintColor = UIColor.whiteColor;
NoteThe background color can be customized by setting the standard
UIViewproperty. If you want to customize the background color, it is recommended that you use
PSPDFLabelStyleFlat, as using the blur effect with a non-translucent background color might produce unexpected results.
If you are customizing this view, you might also want to apply similar changes toSee more