I am creating an application that will work in both iOS 6 and iOS 7. I have a view with a header image at the top. In iOS6 it works fine as it doesn't cover or interfere with the status bar at the top of the screen. However, in iOS 7 the view mixes in with the status bar and it looks terrible. I would need to know how to rectify this without it affecting iOS 6?
Asked
Active
Viewed 280 times
1 Answers
1
- Select your view containing elements in Interface Builder.
- Select Size Inspector tab from right menu.
- in iOS 6/7 Deltas, give -20 in Delta-Y and 20 in Delta-height.
NOTE: not applicable using Auto-layouts.
![](../../users/profiles/1930148.webp)
Salman Zaidi
- 8,426
- 12
- 42
- 60
-
How would I go about doing this programmatically as this class does not have a .xib file? – Adam Altinkaya Nov 13 '13 at 13:49