0

I want to create tab bar application which should also work on older versions of iOS. The problem is older version does not support storyboard. And when I try to create one project without storyboard it wont let me allow to access tab bar item in .xib file. So how can create an application which is compatible with older versions of iOS and easy to design?

Thanks..

kaushal
  • 1
  • 2

1 Answers1

0

Application created with storyboard also support older iOS versions. But if you want to go by old xib way just uncheck the use storyboard option at the beginning when you create your project. You will then have to add UITabbarController manually in applicationDidLaunch method. Feel free to comment if you want detailed answer.

slonkar
  • 4,055
  • 8
  • 39
  • 63
  • Thanks for the answer. But the problem is when I try to run storyboard application on iphone 4.3 simulator, it got stuck on black screen and nothing happens. So, I assume storyboard doesn't support older version.or how can I add new tab bar item in project without storyboard? – kaushal Jan 23 '12 at 01:57
  • Storyboard is NOT compatible with anything less than iOS 5 – LJ Wilson Jan 23 '12 at 03:15
  • Yep just figured that out with the test app. You can set deployment target iOS as 4.3 and run application in iOS Simulator5.0 but not in ios simulator 4.3 – slonkar Jan 23 '12 at 03:18
  • if I am not wrong..you mean it will work fine on iPhone with iOS 4.3 although its not working on iOS 4.3 simulator.... – kaushal Jan 23 '12 at 12:25
  • unfortunately both of my devices are upgraded to 5.0 So I am not sure. But You can check on 4.3 device if you have any. – slonkar Jan 23 '12 at 20:25