title: Share on Facebook IOS 11 Swift
body: <p>In versions below 11 ShareButton to facebook works successfull, but in 11 version this function doesn't work. What can u advice? </p>
  
  <pre><code>if SLComposeViewController.isAvailable(forServiceType: SLServiceTypeFacebook) {
          var vc: SLComposeViewController = SLComposeViewController(forServiceType: SLServiceTypeFacebook)
          vc.setInitialText("My text")
          self.present(vc, animated: true, completion: nil)
      }
  </code></pre>