How do I create an IiPhone/iPad app which targets iOS 4.3 and later? - iphone

I have created an app using Xcode 4.3 and iOS 5.0, but I recently found out I need to also support 4.3.x devices. I changed my Deployment target to 4.3, but then I got the infamous storyboard error:
Storyboards are unavailable on iOS 4.3 and prior
So, how do I create an app that targets both? I can get my app to build using the post here but then my app shows the launch screen and then goes blank.

You can't. Storyboard is only available on iOS 5.0 or higher.
If you want to support iOS 4.3 you need to remove all the storyboard code and go back to using not nib/viewcontroller way of building your UI.

Related

Different UI behaviour for iOS 7

Recently, I uploaded my application to Apple store from XCode 4.x with OS 10.7. After that I upgraded my machine with Xcode 5.0 to start with iOS 7. Now I downloaded my application from the Apple' store to iPhone 4S with iOS 7 installed. I see application's UI on device is totally different from the iOS 7 simulator. On device navigation and Tab bar are old fashioned like iOS 6 while I am expecting like iOS 7.
I think the reason behind this that the application has been uploaded from XCode 4.x and when I will upload it from Xcode 5 it will show the latest UI of iOS7.
Do anyone facing the same problem? Do you think Apple should do it itself?
You understand it right. Applications must build and updated on xCode 5 for showing the new iOS design.
You must check your app on xCode 5 before uploading it as "iOS7 ready", Note that your app might work fine with the old design on iOS 6 but no one can check that for you as they might be UI problems and even crashes depending on your old UI and code.
If you are using 100% iOS native interface you should not have to much work.
You are app is built on iOS 6 SDK, To use iOS 7 UI features, build your app using iOS 7 SDK. iOS 7SDK will be available with xCode 5. SO upgrade to xCode 5 and build app against base SDK 7.
Xcode 7 doesn't exists ;)
Your problem is that you compiled your app with Xcode 4. Only Xcode 5 is embedding iOS 7 SDK. If you want to solve your problem you have to submit your app again but compiled with Xcode 5.
(don't forget to set your correct deployment target)

When best time to use Stoaryboard iPhone?

I want to develop a new iPhone app and I before developed an app and has been rejected from app store because I was using StoryBoard that is not work in prior iOS 4.3, so I used XIB instead.
Now the minimum version is iOS 4.3 and I want to know is now best time to use StoaryBoard or keep using XIB in my new app?
Hope anyone got my mean.
Thanks in advance.
Storyboards are unavailable on iOS 4.3 and prior. Storyboards only work on devices running iOS 5 above. Since your deployment target(minimum supported OS) is 4.3 you have to stick on the Xib file

storyboards are unavailable on ios 4.3 and prior

i've developing the iphone application. i got a error when i run the application like "storyboards are unavailable on ios 4.3 and prior". i don't know how to resolve this so anyone guide me to resolve this.
My xcode is 4.3 version. My iphone is 2g.
Did you do ANY research on this question? Storyboards are only available in iOS SDK 5.0 and later.
If you build an application that is based on storyboards, you must choose 5.0 as the least supported iOS version on your build settings.
And vice versa, if you want to build your application for 4.3, you must not use storyboards.
There is already an answer here at iOS5 Storyboard error: Storyboards are unavailable on iOS 4.3 and prior
Storyboards are not supported for IOS 4.3.

Unable to load/install application on iPhone

After following every step from how to create a certificate till adding provisional certificate to Xcode, I am unable to load the application on the iphone.
I am using Xcode 4.2 iOs 5 and trying to load application on iOS 4.1 [iPhone 3G ].
When I run other sample apps on my device, it successfully installs and runs.
My app gets buld successfully and I have configured the buld settings of my app according to my iOS.
What could be the probable reason?
Please help.
For testing purposes only, my app consists of a lone UIButton, thats it.
In application build settings set deployment target lower then your device ios. Xcode templates starts with 5.0, hope this helps.
I am using Xcode 4.2 iOs 5 and trying to load application on iOS 4.1
Check out the post Is it possible to target older iOS versions when using Xcode 4.2 and iOS 5 SDK? answered by mmorris.
It helped me out.

How to make simple Navigation Based application using iOS 5.0 in latest Xcode?

I have download the latest version of the xcode with iOS 5.0.
so, How to make simple Navigation Based application using iOS 5.0 in latest Xcode?
You have to use the master-detail project template in Xcode 4.2. I don't know why they took the Navigation-based template out but you can start from there.