所以 TwitterKit 更新到 3.0 和 TWTRLoginMethod
/在 iOS 设置中注册的 Twitter 帐户似乎没有了。任何地方都有关于这方面的消息吗?看起来唯一的选择是使用网络/Twitter 应用程序登录,这明显降低了用户体验。
更新 1:好的,有一个 changelog .似乎不再支持在 iOS 设置中使用帐户。这真的很糟糕。因此,我们可能不得不考虑不使用 Twitter 进行登录。
更新 2:因此,在 iOS 11 中,Twitter/Facebook 等帐户已从 iOS 设置应用程序中消失。这显然是这一变化背后的真正原因。
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
最佳答案
Twitter Kit 不再支持直接使用系统账号。
新的 Twitter 应用程序登录将允许用户从他们的移动 Twitter 应用程序无缝使用任何 session ,而基于 SFSafariViewController 的登录将允许用户从 Mobile Safari 使用登录 session 。这些登录流程还允许用户查看应用请求的权限。
关于ios - TwitterKit 3.0 和 TWTRLoginMethod,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44293623/