title: iOS Swift Programmatically Trigger button from previous ViewController
body: <p>When BackgroundClicked is triggered go back to the previous viewcontroller and programatically click on a button on the previous viewcontroller on the load.  But only if BackgroundClicked was clicked from the child view controller </p>
  
  <p>for example</p>
  
  <pre><code>//this button is on child controller
  @IBAction func BackgroundClicked(sender: AnyObject)
  {
      self.navigationController?.popToRootViewControllerAnimated(true)
      // when im on the root controller click button abc 
      // button abc resides on the root controller
  } 
  </code></pre>
  
  <p>I only want button abc clicked on the load of the root controller only if BackgroundClicked was clicked.  I'm not sure how to go about this or if it's even possible</p>