简体   繁体   中英

IOS5 and facebook api

I would like to integrate my app with Facebook and downloaded Facebook-ios-sdk from github. However, the sdk was for Xcode 4.0 code base - I am using Xcode 4.2 for iOS 5 beta 5 application... Is there a version of Facebook-ios-sdk for the latest iOS 5 beta? If there is, how can I download that?

There is no specific version of Facebook-ios-sdk for the latest IOS 5 beta. Typically its good enough to download latest version of Facebook IOS SDK from Git . Complete reference to integrate Facebook sdk to your app is here. You can also walkthrough the Hackbook example.

https://developers.facebook.com/docs/mobile/ios/build/

I hope this helps you.

There is no version for iOS5 now. But you might want to use some new feature like ARC support.

But Facebook SDK was made by iOS4 and there is no ARC support. So you can do like this..

Just to add "-fno-objc-arc"(without double quotation marks) to the compiler flags for the files you don't want ARC. You can do this under your target -> Build Phases -> Compile Sources.

I used this version of SDK for both my iOS 4& 5 successfully.

Facebook sdk

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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