Cancel search bar programmatically


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:



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: