Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UITabBarController does not respond on iPhone 5 simulator: 4-inch retina display

Tags:

ios

I have a UITabBarController that displays four options. These have all worked fine until now.

My problem is that the tab bar does not respond only when testing on the 4-inch retina display device in the IOS Simulator. All other devices the tab bar responds and I am able to select other views.

I don't have an iPhone 5 to test it on so I don't know if this is a fault with the simulator or Apple have changed the workings of tab bars etc for the new hardware or made it stricter and I wrote the wrong code in the first place.

like image 950
Barnaby Avatar asked Sep 22 '12 12:09

Barnaby


2 Answers

In your main window, select the "Full Screen at Launch" option. Here's an image:

enter image description here

like image 34
nevan king Avatar answered Nov 04 '22 03:11

nevan king


I had this issue as well and this worked for me:

Go to the MainWindow.xib, select the Window object and check the "Full Screen at Launch".

like image 105
kanso Avatar answered Nov 04 '22 03:11

kanso