objective c - iOS 7 content shifting up by 20 points due to transparent statusbar -
ever since have upgraded ios 7, content have shifted 20 points up, , cant seem fixed. have looked elsewhere on ways shift content down, adjusting window, view, none seem affect content views. can please tell me views shifted down.
here screenshots:
notice window red background colour showing through @ bottom:
notice how pattern repeats @ bottom of login page:
if project doesn’t use auto layout, issues caused status bar differences between ios 6 , ios 7 can resolved using springs, struts, , ios 6/7 deltas.
solution move content down 20px content wasn’t under status bar in ios 6.
to remedy this, use ios 6/7 deltas set negative y delta, equal number of points moved content down ios 7. example, if moved content down 20 points ios 7, set y delta of -20 points.
follow link correct direction per code.
hope lot.
good luck.
Comments
Post a Comment