UISearchController(PSPDFKitAdditions)

@interface UISearchController (PSPDFKitAdditions)

Extends UISearchController with some helpers.

  • If the searchResultsController is a UITableViewController subclass, this returns its table view.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable)
        UITableView *pspdf_searchResultsTableView;
  • Enables a workaround for rdar://352525 and rdar://32630657.

    rdar://352525: UISearchController: Status Bar on top of Search Bar after rotating http://www.openradar.me/352525

    rdar://32630657: UISearchController logs about loading view during deallocation due to uninstalling back gesture recognizer http://www.openradar.me/32630657

    Declaration

    Objective-C

    - (void)pspdf_installWorkaroundsOn:(nonnull UIViewController *)controller;