As iOS7 and xcode 5 is out, I am assuming we can talk about them. Today I upgraded to XCode 5 and suddenly on my mapView.xib I see a white bar below. I did not touch the xib file, what exactly is going on here and how I can fix it.
-
That's because of a transparent status bar, I guess. – Fahri Azimov Sep 19 '13 at 06:33
-
The view is still messed up with the white bar but I got the app working properly by suggestion provided in post http://stackoverflow.com/questions/18294872/ios-7-status-bar-back-to-ios-6-style – user1191140 Sep 19 '13 at 07:00
3 Answers
Don't worry. You'll have lots of fun re-adjusting your layouts. Some of the components dimensions changed drastically and probably you'll need to re-adjust windows and UIViews too.

- 385
- 3
- 10
-
-
No, just the same (only one), but you need to fine tune what is showing wrongly. Very soon, most users will be using 7 anyway. – John Doe Sep 19 '13 at 06:49
This is because of structure of iOS 7, To resolve this issue select your background UIImageView in xib and apply following Autoresizing mask
After that create new imageSet with name "iOS7bgImg" and add device support [iPhone & iPhone 4-inch] and add respective images in a boxes with following resolutions.
320 * 480
640 * 960
640 * 1136
create a IBOutlet of backgroundImage view
Now check programmatically
if(iOS 7) {
[Setup new image in your background]
}
That's it solve.

- 804
- 1
- 8
- 16
Open the xib and set the frame of the view of this view controller to the screen frame. In iOS7 the status bar is translucent and your view also is behind it. Therefore your view has to be 20 px taller to fill the screen.

- 13,975
- 2
- 47
- 58
-
Please help me with little bit more explanation. How can I set the frame of view to screen frame ? – user1191140 Sep 19 '13 at 06:38
-