Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Zooming no longer functioning? #77

Description

@SmartASCII

It looks like somewhere along the way, zooming on documents stopped working?

I partially fixed this in ILPDFView by:

  • Assigning a maximumZoomScale to the UIScrollView in didMoveToWindow
  • Defining viewForZoomingInScrollView to return _pdfDocumentView

This almost works (albeit laggy), but updateWithZoom seems to not be correctly calculating the X-axis for the annotations on the document. Y axis seems to be spot on.

It looks like updateWithZoom is scaling its original frame with the UIScrollView's zoom factor, so I'm not sure how this is going wrong.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions