所以 TwitterKit 更新到 3.0 和TWTRLoginMethod/ 在 iOS 设置中注册的 Twitter 帐户似乎不见了。哪里有这方面的消息?看起来唯一的选择是使用 Web/Twitter 应用程序登录,这在 UX 中是一个明显的下降。
更新 1:好的,有一个changelog。似乎不再支持在 iOS 设置中使用帐户。这真的很糟糕。因此,我们可能不得不考虑不使用 Twitter 登录。
更新 2:因此 iOS 11 Twitter/Facebook/etc 帐户从 iOS 设置应用程序中消失了。这显然是这种变化背后的真正原因。
3.0.0:2017 年 5 月 25 日在 -[Twitter loginWithCompletion:] 和 TWTRLogInButton 中通过 iOS 移动应用程序的 Twitter 添加了对 OAuth 的支持 更新 TWTRComposerViewController 以处理完整的撰写功能,包括图像和视频附件 添加了 result_type 到 TWTRSearchTimelineDataSource。删除了布尔属性 topTweetsOnly 删除了 Twitter 中的 TWTRLoginMethod 添加了发送方法:-[TWTRAPIClient sendTweetWithText:completion:] 将 TWTRComposer 更改为呈现 TWTRComposerViewController 而不是内置的 iOS 作曲家 不推荐使用 Card 已移除 TWTRComposerTheme 已弃用 TWTRComposer