Adjusting the Size of Popovers
Due to the limitation of UIKit, the size of popovers can’t be changed once they’re presented.
UIPopoverPresentationController offers no public API for doing so and attempting to circumvent that limitation is discouraged by Apple because it usually breaks the popover presenattion completely.
Instead, PSPDFKit tries to determine the initial size of popovers, such as
NoteAnnotationViewController, as best as it can so that their size is most optimal at all times, even when their content changes.
There are many other ways you can customize the user interface in PSPDFKit. For more information, check out our guides on appearance styling, customizing the annotation toolbar, and many more in the “Customizing the Interface” section on the left.