PDFKit - Zoom callback

Is there a way to be notified each time that the pdfview scale value changes?

At the moment, it is possible to get the scale value once it is updated, using the notification `PDFViewScaleChanged`, but it is fired only at the end of the whole "zooming" process. I need real time updates instead.


Any ideas/workarounds ?

Have you looked at how to subclass PDFView, in order to get a realtime notification ?

I am working on iOS app which is using PDFKit. The "PDFViewScaleChanged" notification is not firing for me even at the end of the zoom.

For me it is only fired when i load the document in PDFview for the first time.



Please llet me know if I am missing anyting.


Thanks in advance

PDFViewScaleChanged is fired when scaling manually at the end of the zoom process. . It is not invoked when changing the zoom i.e. by using a double tap. Seems like a bug to me.

PDFKit - Zoom callback
 
 
Q