Not sure about the title of this question... it's a work in progress.
Anyway, while the internets are full of folks that want to make their ios7
status bar behave the old way, i'm fine with that. However, my problem now is that the view
that starts at y=0 in IOS7 jumps down under the status bar in IOS6
.
I can and have solved this with the 'delta' ios6/7
thing in interface builder, but i would rather have my views behave exactly the same way, ie my top 20 pixels can be seen in IOS7, but are hidden by a black bar in IOS6. This means that all objects end up in the same Y position before and after IOS7 if you see what i mean.
I've tried all sorts of stuff to no avail. Is there an easy way to tell xcode
that i want my view to start at position 0 and disregard the statusbar
in IOS6?
只需在所有视图的viewDidLoad
尝试
self.wantsFullScreenLayout = YES;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.