TwitterKit 3.0 and TWTRLoginMethod

424 Views Asked by At

So TwitterKit updated to 3.0 and TWTRLoginMethod / Twitter accounts registered in iOS settings seems to be gone. Are there any news about this, anywhere? It looks like the only option is to use web/Twitter app login, which is a clear step down in UX.

Update 1: Ok, there is a changelog. It seems usage of accounts in iOS settings is not supported anymore. This is really really bad. We might have to consider to not use Twitter for login because of this.

Update 2: So with iOS 11 Twitter/Facebook/etc accounts are gone from iOS settings app. That obviously makes the real reason behind this change.

3.0.0: May 25, 2017 Added support for OAuth via the Twitter for iOS mobile app in -[Twitter loginWithCompletion:] and TWTRLogInButton Update TWTRComposerViewController to handle full compose functionality including image and video attachments Added result_type to TWTRSearchTimelineDataSource. Removed boolean property topTweetsOnly Removed TWTRLoginMethod in Twitter Added sending methods: -[TWTRAPIClient sendTweetWithText:completion:] Changed TWTRComposer to present TWTRComposerViewController instead built-in iOS composer Deprecated support for Card Removed TWTRComposerTheme Deprecated TWTRComposer

1

There are 1 best solutions below

2
On BEST ANSWER

Twitter Kit no longer supports using system accounts directly.

The new Twitter App login will allow users to seamlessly use any session from their mobile Twitter app, and the SFSafariViewController based login will allow users to use logged-in sessions from Mobile Safari. These log in flows also allow users to view permissions that the app is requesting.