title: How share a screenshot to Facebook using Swift?
body: <p>I need to have a Facebook share button on one of my app's view controllers so that when the user pushes it, it will share a screenshot of the user's current screen to Facebook.</p>
  
  <p>I have been watching a few tutorials such as this one on how to implement a Facebook share button: <a href="https://www.youtube.com/watch?v=774_-cTjnVM" rel="nofollow">https://www.youtube.com/watch?v=774_-cTjnVM</a></p>
  
  <p>But these only show how I can share a message on Facebook, and I'm still a little bit confused how to share the whole screen that user is currently interacting with.</p>