title: Twitter Sharing in iOS 11
body: <p>I would like to ask for clarification about Twitter sharing in iOS 11 onwards.</p>
  
  <p>The official Apple documentation states in the release notes the following:</p>
  
  <blockquote>
    <p>Social accounts have been removed from Settings in iOS 11. Third-party apps no longer have access to those signed-in accounts. (31687059)</p>
  </blockquote>
  
  <p>And the official Twitter documentation <a href="https://dev.twitter.com/twitterkit/ios/migrate-social-framework" rel="noreferrer">here</a> states that:</p>
  
  <blockquote>
    <p>iOS 11 no longer supports using Twitter through the built-in social framework. Instead, you can use Twitter Kit 3 to Tweet, log in users, and use the Twitter API.</p>
  </blockquote>
  
  <p>I'm having a bit of a hard time trying to understand how this changes affects sharing from apps.</p>
  
  <p>Currently, using the "Social" Framework, one could simply use <strong>SLComposeViewController</strong> to easily share through several services.</p>
  
  <p>With this change it seems <strong>SLComposeViewController</strong> can STILL be used as long as the user has the corresponding app installed, since THAT app will show it's own share sheet automatically. But if the app is not installed, it will just silently fail (based on my experiments).</p>
  
  <p>*Currently the twitter one is showing a "No Twitter Account" alert message, but I believe this is a bug. </p>
  
  <p>If the correct behavior is the one described above, then my understanding is correct. However, the twitter documentation makes it sound as if the Social framework will just not work for twitter anymore. </p>
  
  <p>Additionally, "SLServiceTypeTwitter" is now shown as deprecated, meaning it's a bad idea to keep relying on it. <a href="https://developer.apple.com/documentation/social/slservicetypetwitter" rel="noreferrer">https://developer.apple.com/documentation/social/slservicetypetwitter</a></p>
  
  <p>Could someone clarify this for me?</p>
  
  <p>PD: I'm sure this applies to other social services as well.</p>