ios - TwitterKit 3.0 和 TWTRLoginMethod

标签 ios twitter twitterkit

所以 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/

相关文章:

r - TwitteR: 'searchTwitter' 仅返回一小部分推文

javascript - 将 twitter 提要嵌入到我的 html 中的最小 Javascript?

Android通过intent发送Twitter私信

ios - 获取已安装相同应用程序的 Twitter 关注者

ios - TwitterKit 没有控制重定向到 native Twitter 应用程序的接口(interface)

ios - 如何向导航项添加 2 个或更多操作?

ios - 在应用程序沙箱 IOS 中写入文件时出现问题

ios - Return 函数内部为 Void

ios - CKQuery 使用 NSPredicate 搜索 NIL 总是抛出 Invalid Expression 错误

ios - XCode Objective-C Apple Mach-O 链接器错误