Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone 5 TabBar not working after adding [email protected] [duplicate]

Possible Duplicate:
iPhone 5 TabBar not functioning in proper position

I added the magic Default-568h.png to my project and my App resized itself. So far so good. But: My UITabBar is not working anymore. It's delegate is not called. I first thought it is covered by another view but it isn't. The Delegate is there and it's all working on my "old" iPhone 4. Any ideas?

like image 563
plaetzchen Avatar asked Sep 24 '12 13:09

plaetzchen


1 Answers

You need to do two things:

1) You need to go to your main xib, click on the window object, and set the "Full Size at Launch" property.

2) If you are converting an older project, you also have to make sure that your window rootcontroller is set to the tabbarcontroller. You can do that by dragging in Interface builder or programatically in your application applicationDidFinishLaunching method.

like image 113
Ed Fernandez Avatar answered Oct 17 '22 20:10

Ed Fernandez