简体   繁体   English

将Twitter集成到iOS 4.3+应用程序中

[英]Integrating Twitter into iOS 4.3+ App

I'm trying to integrate Twitter with my App right now. 我正在尝试将Twitter与我的应用程序集成。 I have successfully set up the iOS 5 TWTweetComposeViewController, but this does not work on iOS 4.3. 我已成功设置iOS 5 TWTweetComposeViewController,但这不适用于iOS 4.3。 What's the best method to also integrate Twitter posting into iOS 4.3? 将Twitter发布到iOS 4.3中的最佳方法是什么?

DETweetComposeViewController DETweetComposeViewController

Open source. 开源。 Mimics TWTweetComposeViewController. 模仿TWTweetComposeViewController。 Works with iOS 4 and later. 适用于iOS 4及更高版本。

Use a custom library and implement the tweet screens yourself. 使用自定义库并自行实现推文屏幕。 Alternatively you could redirect the user to a twitter:// URL which will open the Twitter application, or just open a Web Intent. 或者,您可以将用户重定向到twitter:// URL,这将打开Twitter应用程序,或者只是打开Web Intent。 http://dev.twitter.com http://dev.twitter.com

Sharekit is a framework that may help you to setup Twitter on iOS version pre 5. If you take a first look at Sharekit, it may look like you only can use it as a complete framework. Sharekit是一个框架,可以帮助您在iOS 5版本上设置Twitter。如果您第一次看看Sharekit,看起来您可能只能将它用作完整的框架。 But read on: you can use any of the fractions (Twitter, Facebook etc) of Sharekit to connect with your own GUI. 但请继续阅读:您可以使用Sharekit的任何分数(Twitter,Facebook等)连接您自己的GUI。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM