UITabBarController在iPhone 5模拟器上没有响应:4英寸视网膜显示器 [英] UITabBarController does not respond on iPhone 5 simulator: 4-inch retina display
问题描述
我有一个显示四个选项的UITabBarController。这些都一直运行到现在。
I have a UITabBarController that displays four options. These have all worked fine until now.
我的问题是标签栏只有在IOS模拟器中测试4英寸视网膜显示设备时才会响应。标签栏响应的所有其他设备,我可以选择其他视图。
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.
我没有iPhone 5来测试它所以我不知道是否这是模拟器的错误,或者Apple已经改变了新硬件的标签栏等的工作方式或使其更加严格,我首先编写了错误的代码。
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.
推荐答案
我也有这个问题,这对我有用:
I had this issue as well and this worked for me:
转到MainWindow.xib,选择Window对象,检查启动时全屏。
Go to the MainWindow.xib, select the Window object and check the "Full Screen at Launch".
这篇关于UITabBarController在iPhone 5模拟器上没有响应:4英寸视网膜显示器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!