I already make the app for ios 6 using xib. All the views are shown perfectly same as xib. But in IOS 7, due to the status Bar the views are moves to up & there is a blank space towards the bottom.
How can I solve this issue?
I already make the app for ios 6 using xib. All the views are shown perfectly same as xib. But in IOS 7, due to the status Bar the views are moves to up & there is a blank space towards the bottom.
How can I solve this issue?
For IOS7 you have leave status bar height from top which was by default in IOS6.
Steps to Fix the status bar issue:
Change the "view as" option to "IOS 7 and later" and uncheck the use auto layout option from file inspector.
Go to size inspector and increase 20 pixel of origin y value to all controls added in the selected xib.
And increase the delta value of y to -20 for all the controls added in the selected xib.
And run in both IOS 6 and IOS 7 issues should be fixed. (Make sure the y origin and delta values are perfectly handled as i mentioned.)
For clear information See my answer in this link : https://stackoverflow.com/a/19025547/1545180
For your reference
You can easily set the UIView content properly in ios7 and ios6 by using ios6/7 delta shows on the size inspector by changing the values in delta x,delta y,delta width,delta height.firstly set your values for ios7 in x,y,width,height and then check out and then set deltas for ios6 by subtracting and adding numbers.I also do like that and it is so easy ,you can get help from me ant time..thanks
Move your views so they appear correctly for iOS7 and use the
iOS6/7 Deltas
setting in interface builder to add the correct amount of delta height so your view appears correctly in iOS6.Also see: https://stackoverflow.com/a/19025547/1545180
If you have a custom
UINavigationController
try setting thetranslucent
property of thenavigationBar
toNO
like:This worked for me