简体   繁体   English

如何将Twitter集成到我的iPhone应用程序

[英]How to integrate twitter to my iphone application

i need to integrate Twitter to my iPhone application. 我需要将Twitter集成到我的iPhone应用程序中。 I have tried many 3rd party SDks, but non worked since i have enabled ARC to my project. 我已经尝试了许多第三方SDks,但是由于我已将ARC启用到我的项目中,因此无法正常工作。

1.) So i need to know if there's a Native Twitter API which will be owned by Twitter it self ? 1.)所以我需要知道是否有本机Twitter API,该API将由Twitter自己拥有吗? 2.) I have tried sharekit, but may i know if there's other 3rd party APIs that i could use to integrate twitter for my application. 2.)我已经尝试过sharekit,但也许我知道是否可以使用其他第三方API来为我的应用程序集成twitter。

note : It should work for both iOS 4.3 and above. 注意 :它适用于iOS 4.3和更高版本。 Also do not say this question is duplicated (i have looked at other questions but didn't find a solution to my problem yet) :) 也不要说这个问题是重复的(我看过其他问题,但还没有找到解决问题的方法):)

i have already looked at this . 我已经看过这个

If you are using sharekit, be sure to be using sharekit 2.0, it has compatibility with iOS 5. I recommend you ShareKit because it has a lot of other functionalities that may be useful for you, if you change your mind and give sharekit a second chance, just ask me and I will try to help you. 如果您使用的是sharekit,请确保使用的是sharekit 2.0,它与iOS 5兼容。我建议您使用ShareKit,因为如果您改变主意并再次使用sharekit,它还有许多其他功能可能对您有用。机会,问我,我会尽力帮助您。

Also, if you have the ARC activated, I think your application won't have compatibility with iOS 4.3, so think about it. 另外,如果您激活了ARC,我认为您的应用程序将与iOS 4.3不兼容,因此请考虑一下。 In case you insist in using ARC with 3rd party SDKs, just remove all the "retain", "release" and other expressions that are not allowed with it. 如果您坚持将ARC与第三方SDK结合使用,只需删除所有“保留”,“释放”和其他不允许使用的表达式即可。 XCode will tell you which expressions are not available with ARC. XCode会告诉您ARC不提供哪些表达式。

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

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