title: Share Sheet with Peek and Pop
body: <p>I am trying to get a share sheet to come up after and action button is tapped on the the peek and pop action item. The problem is that the share sheet is has to come up from a specified VC. In a normal VC, I would just say self. But in this case, once the action item is tapped, the vc that we would normally present the share sheet from gets dismissed. That is just how action items work with peek and pop. How do I tell the share sheet to present from the original VC or VC below it? </p>
  
  <p>Here is the code for the share sheet.</p>
  
  <pre><code>//This is in the function createShareSheet
  branchUniversalObject.showShareSheet(with: linkProperties, andShareText: "Check out this post!", from: self) { (string, bool) in
      print ("done")
  }
  </code></pre>
  
  <p>and here is the code for the action item: </p>
  
  <pre><code>override var previewActionItems: [UIPreviewActionItem] {
      let action2 = UIPreviewAction(title: "Share", style: .default, handler: { previewAction, viewController in
  
          //This basically gives data to the function that has the above code for creating the share sheet.
          self.createShareSheet(self.selectedItem!)
          return [action2]
      })
  </code></pre>