Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone 5 (4") bottom toolbar not responding

Tags:

iphone-5

I'm trying to modify an app to work with the new iPhone 5, 4" screen. I've added the new launch image, "[email protected]". After that everything seemed good. Middle portion of my views is resizing ok.

However I've noticed that in a view where I have a bottom toolbar, the buttons on the toolbar are unresponsive. It looks ok, but tapping buttons does nothing. Same code run in simulator with 3.5" screen works fine.

Any ideas?

This view is within a navigation controller. It consists of a table view and toolbar. The tableview is set to resize height.

like image 627
David Avatar asked Sep 11 '25 06:09

David


2 Answers

I had the same problem and noticed that my window.frame.size.height was still 480.0.

Solved this problem by enabling Full Screen at Launch for the MainWindow.xib file:

Steps:

  1. Open MainWindow.xib
  2. Select the Window element
  3. Open the Attributes Inspector
  4. Under Window section, enable Full Screen at Launch
like image 59
Min Tsai Avatar answered Sep 13 '25 17:09

Min Tsai


There are two solution to this problem :

  1. If you are using MainWindow follow these steps :

    a. Select MainWindow.xib b. Select 'Full Screen at Launch' from Windows option available in Attributes Inspector.

  2. If your application doesn't contain MainWindow then just add 'Self.View.Frame = [UIScreen mainScreen].bounds' in ViewDidLoad.

like image 22
Jayprakash Dubey Avatar answered Sep 13 '25 19:09

Jayprakash Dubey