Will Facebook iOS SDK 3.0 not work on iOS 3.x? - ios

The Facebook iOS SDK 3.0 Beta says "These new features work with iOS 4.0 and later." Does that mean that it won't work on iOS 3.x? Does that mean that if I have an app that supports iOS 3.x, I cannot use Facebook iOS SDK 3.0?

Correct. Facebook iOS SDK 3.0 will not work with iOS 3.x. We felt that the productivity enhancements (e.g. blocks) in iOS 4.x were simply too useful. The SDK is open source, and we plan to maintain the history, which includes the existing code that does work with 3.x. In this way there is still an option for applications that need to continue to support older versions of iOS.

Pretty safe to say yes, you wont be able to use iOS SDK 3.0, or you will no longer be able to support iOS 3.x.
You can also interpret that to mean that you can use it on iOS 3.x, but some of the features may not work at all, in which case there is no point in changing the SDK that you use because you wont be able to take advantage of the new features.

For what it's worth, Apple announced at WWDC 2012 that more than 80% of iOS users are using iOS 5; a further significant percentage is using iOS 4.
I realize you may have specific business needs to use 3.x, but the world is moving quickly away from 3.x (and even 4.x!) and that should factor in to your platform design.
The previous stable (non-3.0) Facebook SDK is still compatible with 3.x devices.

Related

Things to be considered while upgrading the iOS app

There is an iOS app developed in iOS 4.3. Now I want to upgrade this app to iOS 9 and later. I can able to run the application even on iOS 10 devices. But there are lot of deprecated warnings regarding the latest SDK.
The main reason I'm posting this question is, while upgrading the app from lower version to latest version, what are the action items to be consider to make the application perfect on latest SDK?
Here are few points I've noted,
Clear all deprecated warning.
Do analyser for memory leak.
Enable ARC if not enabled yet.
Proper unit testing.
Please advice me some more point.
Note: I'm not converting the app to Swift, using Objective-C only.
Update: I know the basic things like changing the deployment targets, update the used libraries / Frameworks to latest one, etc., I want more high level points those features are available in latest SDK comparing with lower one.
Thanks
Here are some more points you have to consider for latest iOS support,
Change deployment target in general setting.
Check for device compatibility for design constraint. There are new devices.
Change the version of your app in general settings.
If there are any functionality for touch event than check if it is possible to implement 3D touch for newer device.
And go for proper testing of functionality and design.
Hope it will help you.

How come my non-ATS supporting app is working on iOS9?

I'm running the beta version of iOS 9 on my phone.
I downloaded my app from the App Store and it works.
When I install it from Xcode it doesn't work (since it is not supporting ATS).
How can that be?
When introducing features in new iOS versions Apple often checks for the link time or SDK version of the app.
Applying new rules only to apps that are linked to iOS SDK 9 for example, they can enforce the rule on new builds, where the developer should be aware of the rule. Old apps are left alone and keep working as before.
The version from the App Store is likely linked against an earlier SDK version. Apple determines behavior for some things like UI and, AFAIK, ATS, by looking at the linked SDK version.
Apple notices that App Store version is linked against an SDK version that doesn't know about ATS and enables legacy support. But your version compiled in Xcode is linked against a SDK version that does know about ATS and Apple therefor enforces the rules.

iOS 6- : Facebook API

I'm developing a application that integrates with Facebook.
I read about integrating in ios 6, ok.
I downloaded the SDK and came with samples. I opened "Scrumptious", but it's for iOS 4.3!!
So, two questions:
There is any sample for iOS 6?
How can I develop my application that integrates with iOS 6 and others iOS, using Facebook SDK?
Thanks.
The latest version of the Facebook SDK works on all Apple-supported versions of iOS, i.e. 4.3+. If the device is using iOS 6 and you request your permissions in an appropriate fashion (ie, read first, write later) then it will use Apple's built-in Facebook support and the username/password the user has supplied elsewhere. However it'll also work on iOS 4 and 5 devices that don't have that support, supplying an appropriate in-app prompt or paging out momentarily to the Facebook app as appropriate.
Use of the Facebook SDK is therefore optional for accessing Facebook from iOS 6 but is likely a good idea because:
it also works under iOS 4 and 5; and
it supplies a lot of pre-built dialogues for common Facebook tasks.
So although Scrumptious will work on iOS 4.3 it is using the latest version of the SDK and will use the OS-level support if available.
One of the distinguishing features of the latest SDK versus the older ones is that FBSession now has a concept of the activeSession, i.e. it has singleton-like features that support a global modal session. That was added publicly in June last year. Scrumptious makes use of that feature, for example on lines 94, 130, 144, 152 and 159 of SCAppDelegate.m.
So to answer your question directly: you've quite probably already downloaded the correct SDK. You'd write exactly the same code to work with it under iOS 4, 5 or 6. The samples like Scrumptious are a good place to start.
If you want a great tutorial, you can start with Ray Wenderlich's site. They have a good beginning tutorial using the social framework. I actually bought his book iOS 6 by tutorial. It helped me make an app for a friend that integrates Facebook and twitter. It really helps you understand the social framework.
http://www.raywenderlich.com/
Are you trying to integrate with the ios6 SocialKit? You don't need to download an SDK for that, it's built into the OS. I would recommend using Share Kit if you want to support older ios versions.

Facebook with iOS5 and iOS6

I'm about to release an app and it must support both iOS5 and iOS6. But with the new Facebook SDK 3.1 i'm not quite sure on how to integrate the Facebook functionality to work with both iOS versions.
What is the best approach to make both the login and wall posting actions to work in iOS5 and iOS6 version? Are there any best-practices already?
Many thanks in advance!
The latest Facebook SDK supports both iOS versions just as well. If you're on iOS6, it will use the built-in authentication, otherwise it'll automatically fallback to the old "fast-app-switching" or Safari model.
So if you implement the 3.1 SDK, you won't have to worry about how the user authenticates:
The main purpose of the upgrade is to bring compatibility with iOS
v6.0 and its native Facebook support. Using v3.1 of the SDK means that
your apps benefit greatly from that support when it is available, but
that they automatically fall back to use the previous app-switching or
web-based authentication flows on older versions of the operating
system.
More on implementing support for the built-in Facebook accounts on iOS 6: http://developers.facebook.com/docs/howtos/ios-6/

How do you download a previous version of the iPhone SDK?

I'm developing on the current 3.1 SDK, but I'd like my app to support all versions of the iPhone 2.2.1 onwards. I don't have a copy of the older SDKs around anymore and I can't find them on Apple's site. Is there still a way to get it from the iPhone Dev Center?
I think the answer you're looking for is here. Basically the SDK you want is part of the 3.1 SDK, you just have to configure your project to leverage it.

Resources