Cancel search bar programmatically

Hi,

Just an update on this.
We have adjusted the behaviour such that the search view will be dismissed when navigating away from the viewer if you’re using a PTDocumentController (or a PTDocumentViewController).
This is available in our experimental nightly build available here:

CocoaPods:
https://nightly-pdftron.s3-us-west-2.amazonaws.com/experimental/2021-03-29/cocoapods/pdfnet/2021-03-29_experimental_rev77531.podspec

DMG:
PDFNet_iOS_nightly_developer_2021-03-29_experimental.dmg

This will also be in our next official release which is currently scheduled for the first half April.

Nice!! I’m excited to try that out. You all are always so helpful, and I really appreciate it. Thank you!

Hi Randy,

Thank you for the feedback and kind words!
Just following up that we officially released version 9.0.0 of the PDFTron iOS SDK which includes this fix: