title: Swift - sharing photos to Instagram
body: <p>Im trying to implement <code>UIActivityViewController</code> to my app, It works correctly. However, I'd like to add <em>Instagram</em> to the options. When searching on the internet, I've seen this reply : </p>
  
  <blockquote>
    <p>"You're able to use UIActivityViewController to show up Instagram as
    long there is just an UIImage inside the activity items. It won't show
    up if you add more items like text, url etc. This is a bad limitation
    made by Instagram.".</p>
  </blockquote>
  
  <p>Is there any way, how to add <em>Instagram</em> even with initial text, or should I integrate another <code>UIActivityViewController</code> option and turn off all of the other options (FB, Twitter, mail) to show Instagram option? Maybe through if clauses for text?</p>
  
  <p>Here ist the piece of code</p>
  
  <pre><code>@IBAction func ShareRecipe(_ sender: AnyObject) {
      let initialText = "-Check out this app"
      let img: UIImage = ImageView.image!
      let activityVC = UIActivityViewController(activityItems: [img, initialText], applicationActivities: nil)
      activityVC.popoverPresentationController?.sourceView = self.view
      self.present(activityVC, animated: true, completion: nil)
  }
  </code></pre>