facebook sdk 3.1-ios compatible with ios 5.1 -5? - objective-c

regards
I have an application that uses the Facebook API for certain features This application should run both 5.1 and 6 ios 5 my question is the Facebook API 3.1 is compatible with iOS 5 and 5.1 thank you very much

Yes it is compatible. Just mark the iOS6 only frameworks as optional to get it working.
EDIT: Here's a screenshot of how you do that.

Related

OData Client for Objective-C library for iOS 6?

I am doing iphone project, in that am using ODataProtocol, but i can't able to find the Odatagen library for iOS 6. I taken OData4ObjC Zip file, in that Frameworks are Upto iOS 4.3 libraries are there.. how can i use that Odata libraries in my app for iOS 6. Is it possible?? When you will update the latest version of libraries.
They just uploaded de IOS 6 framework https://github.com/ElizabethDuncan/OData4ObjC, hope this helps you

Cannot test the social framework on a device lower than IOS6

I am working with the social framework. On iPads with IOS6 it works fine.
But when I test it on a device with IOS 5 I get the following error.
dyld: Library not loaded: /System/Library/Frameworks/Social.framework/Social
Referenced from: /var/mobile/Applications/3A3020E0-09D7-49DD-96E2-2E0F20C098D2/RacingGenk.app/RacingGenk
Reason: image not found
Can anybody help ?
Kind regards.
Stef
The social framework isn't available before iOS 6, which explains the problems you're having.
What you need to do is weak link the social framework, which will let you use it on iOS 6 but won't cause pre iOS 6 devices to try to load it. To weak link a library you should select your application's target in XCode, go to the Build Phases tab, and under Link Binary with Libraries make sure that the 'Social.framework' entry is set to Optional rather than Required.
The social framework was introduced in iOS 6, but if you want you have sharing ability for facebook, twitter and many other social networks / sites on devices running versions of iOS before 6.0 then feel free to explore sharekit:
http://getsharekit.com/
Its really easy to use and works for both iOS 6 apps and apps running on previous versions of iOS.
That is because the Facebook integration is only available on iOS6. You can however still use facebook using the original Facebook API for < IOS6 devices.

Map Integration in ios6

How can I integrate maps in iOS 6. Will it be supported in earlier iOS versions?
I want to display a map in an app which has to support iOS 5 and newer. How could I do this? In the earlier versions iOS uses Google Maps and in the latest version it uses its own map.
Will anybody help me out?
I don't think there ever was a Google Maps API kit.
Every time a map from Google showed up in an iPhone app, it was through the iOS MapKit API. I think Google was only the maps provider. What they did in iOS 6 was changing their map provider for themselves. So I think upgrading to MapKit in iOS 6 will just require a little maintenance, and not a full rewrite. I'm guessing most of it will run fine on iOS 5.
Note : this is just my own guess, I haven't looked into developing for iOS 6 yet.
For all I've seen MapKit is essentially the same. Under iOS 5 the default map provider will be Google, under iOS 6 it will be Apple. If you specify a custom map provider that will be used in either. Just be sure to test properly in iOS 5.0, 5.1 & 6.
There are some differences on the versions of the framework for iOS 6 and for below iOS 6. I've noticed that the offset value of the annotations is different from

Twitter integration in iOS 4 & 5 App

I am currently working on app which is supposed to have Twitter integration. The app should also be built so it can be used on iOS 4.3 devices. We'd like to use the built in Twitter Framework on iOS 5 and possibly drop twitter support for iOS 4 devices (not sure about that yet).
The question is: Is this possible? As far as I can tell I can only link statically on iOS builds, which would mean an App built with the Twitter framework can not be run on an iOS 4 device. If this is possible, how would I got about linking the Twitter framework so I can get the app running on iOS 5 with built in Twitter support and ignore the Framework on iOS 4.
It is possible. Apple has introduced weak linking of frameworks that are not supported on older versions. You can get more details regarding weak linking here.
See one more similar question regarding weak linking here.
Hope this solves your problem.

App store upload and setting deployment target in iphone

i have built my app using xcode 4, & its working fine on ios 3.1.3 device if i set my deployment target to 3.1.3 , it is working fine ios 4 and if i set the deployment target to 4 ,my doubt is while uploading to app store what deployment target should i set?????
thanks in advance
The answer is YES and NO.
YES: Because it will run on iOS 3.1.3 for the APIs and methods supported till 3.1.3
NO: Because it will not support the APIs introduced in iOS versions > 3.1.3
Example: If you integrate SMS functionality as it was introduced in iOS 4.0