I built my app in iOS 4.1 and the app has iAd Framework.
But I want to set deployment target as 3.1 so that app runs perfectly on older iPhone devices as well.
To add iAd Banner view, I’m used IB and added the ads to my app.
How can I make my app run on older iPhone OS and on Ipads.
I built my app in iOS 4.1 and the app has iAd Framework. But
Share
You’ll have to set the role of the framework to weak, and then make runtime checks in order to handle properly the behavior on different iOS versions.
The MessageComposer sample project does exactly the same – you can view the readme.txt there for more details and source code.