带有标准 UI 的 iOS 上的 Twitter SDK [英] Twitter SDK on iOS with standard UI

查看:44
本文介绍了带有标准 UI 的 iOS 上的 Twitter SDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找将 Twitter 集成到我的 iOS 应用程序的 SDK.我做了研究,似乎大多数人推荐 MGTwitterEngine.但是,MGTwitterEngine 仅提供对 Twitter API 的访问,而不提供对 UI 的访问.

I am looking for the SDK to integrate Twitter into my iOS App. I have done research, and seem that MGTwitterEngine is what most people recommend. However, MGTwitterEngine only provides access to the Twitter API, but not the UI.

我还查看了一些与 Twitter 集成的 iPhone 应用程序,例如 SCVNGR、FriendsAroundMe、Hashable,它们都有相同的登录页面.但是,我无法找出这些应用使用的 SDK.

I also looked a few iPhone app with Twitter integration, such as SCVNGR, FriendsAroundMe, Hashable, they all have the same login page. However, I couldn't find out what SDK these apps use.

我想知道是否有任何 SDK 版本(来自 Twitter 将是最好的),其中包括具有标准 UI 实现的 SDK 和一些演示代码.

I wonder whether there is any SDK release (from Twitter would be the best), which includes both the SDK with standard UI implementation, and some demo code.

感谢您的建议.

史蒂夫

推荐答案

这些应用的登录 UI 可能是 UIWebView.我说可能是因为我还没有看到你提到的那些应用程序.Twitter 的登录通常在 UIWebView 中处理,因为 Twitter 需要 OAuth.由于登录是在 UIWebView 中完成的,Twitter 实际上提供了该 UI.

The login UI for these apps is probably a UIWebView. I say probably because I haven't seen those apps that you've mentioned. The login for Twitter is usually handled in a UIWebView, because Twitter requires OAuth. Since the login is done in a UIWebView, Twitter actually provides that UI.

我会推荐 ShareKit 用于基本的 Twitter 交互,例如发帖.ShareKit 为您处理 UIWebView. ShareKit (0.2.1) 似乎存在一些内存泄漏问题.使用风险自负.

I would recommend ShareKit for basic Twitter interactions, like posting. ShareKit handles the UIWebView for you. edit: ShareKit (0.2.1) seems to have some memory leak issues. Use at your own risk.

这篇关于带有标准 UI 的 iOS 上的 Twitter SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆