You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
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.
It seems that the function "scrollViewDidZoom" located in the file "ILPDFView.m" is not get called.
I was able to fix it by implementing the following code on the same file "ILPDFView.m":
It looks like somewhere along the way, zooming on documents stopped working?
I partially fixed this in
ILPDFView
by:maximumZoomScale
to theUIScrollView
indidMoveToWindow
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 theUIScrollView
's zoom factor, so I'm not sure how this is going wrong.The text was updated successfully, but these errors were encountered: