I am beginner in iPhone.
I want to make the iPhone app that compatible for all iPhone versions like 3 and above.
Please help me What to set in the project to make it compatible to all version.
Thanks in advance.
I am beginner in iPhone.
I want to make the iPhone app that compatible for all iPhone versions like 3 and above.
Please help me What to set in the project to make it compatible to all version.
Thanks in advance.
You should set the deployment target in the target summary.
Edit: Xcode 4.5.x only supports iOS 4.3 and later so you can't support iOS versions below it.
Edit 2: If you are using and old version of Xcode this might be helpful for you. iOS 3.x support in Xcode 4
But you should think twice before writing an application that targets iOS4 and above. Targeting to old versions of iOS means that you must not use any of the API's of the next iOS versions such as ARC and auto layout. As a result your code will be harder to maintain and some features would be impossible to implement.
Before going on with it, think about how many users will you satisfy by supporting iOS4. Read these thousand words from apple and then decide for yourself