Search code examples
gestureios13pdfkit

PDFKit gestures issue stop working after upgrade to IOS 13


I've developed an app for iPad that use Apple PDFKit to show and add annotations to PDF. The app works correctly on all the IOS system (from 11.0 to last 12 vrs). Now on device that has IOS 13 installed the app has troubles on gesture and there's nothing to do to solve. Any ideas about what is could be happen and if this will be solved with a new build of IOS 13 (may be 13.2....)? Thanks!


Solution

  • Here is the solution of PDFView touches cancelled called after upgrade iOS to 13.+ need to add this line.. self.pdfview.documentView?.gestureRecognizers?.removeAll()