def splitViewController(svc, willHideViewController: vc, withBarButtonItem: button, forPopoverController: _)
      button ||= self.displayModeButtonItem if self.respond_to?(:displayModeButtonItem)
      return unless button
      button.title = @pm_split_screen_button_title || vc.title
      svc.detail_screen.navigationItem.leftBarButtonItem = button
    end
def splitViewController(svc, willHideViewController: vc, withBarButtonItem: button, forPopoverController: _)
      button ||= self.displayModeButtonItem if self.respond_to?(:displayModeButtonItem)
      return unless button
      button.title = @pm_split_screen_button_title || vc.title
      svc.detail_screen.navigationItem.leftBarButtonItem = button
    end
UISplitViewControllerDelegate methods
 iOS 7 and below