@interface PSPDFScreenController : NSObject
class ScreenController : NSObject
The screen controller will automatically watch for connected screens and external scenes
if the property
pdfControllerToMirror is set, and will release such mirrors once
this property has been set to nil.
UIWindow objects are automatically created for each connected screen,
and destroyed once a screen is disconnected or
pdfControllerToMirror is set to nil.
NoteUse this class from the main thread only.
Attach a pdf controller to automatically start mirroring. Set to nil to stop mirroring again. View position is kept automatically in sync.
NoteThis should be the controller you show on the device. This class will automatically create a managed copy and mirrors the position.
Delegate that calls back when mirroring is started or stopped.
NoteThis delegate is not used by PSPDFKit and can be used freely to customize the screen mirroring