Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #9521 Reply

    Viktor

    Is there any way to rotate PlugPDFDocumentView and layout it’s subviews when device rotated?

    #9529 Reply

    Dr. Plug
    Moderator

    Hello, Viktor

    Actually if you used a PlugPDFDocumentViewController, that works automatically.
    But if you don’t uses a PlugPDFDocumentViewController, there is no way to recognize a rotate event.
    Because PlugPDFDocumentView is inherited from UIScrollView. so they don’t a recognize rotate event.

    Best Regards,

    #9534 Reply

    Viktor

    What methods used to relayout PlugPDFDocumentView subviews? Can i call them manually?

    #9546 Reply

    Dr. Plug
    Moderator

    Hello, Viktor

    Actually if you uses this sample code, you can relayout PlugPDFDocumentView.

    Best Regards,
    Dr.Plug

    • This reply was modified 1 year, 4 months ago by  Dr. Plug.
Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Rotating view controller with PlugPDFDocumentView
Your information: