Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 376
  • Last Modified:

Why does my content drop (15px) after I turn the ipad to landscape and back to portrait?

I've built a couple different apps now and they both exhibit this same problem. On app start up, the app content sits correctly.. but then when I turn the ipad to landscape and back to portrait the content drops down around 20 pixels, causing the bottom navigation bar to only be partially visible.

There must be something silly I'm missing, and ideas much appreciated =)
0
paddycobbett
Asked:
paddycobbett
2 Solutions
 
lisfolksCommented:
I'm thinking this may be related to how the view redraws itself when you change the orientation. Of course, I don't know what kind(s) of view(s) you may be using, so this is just a guess.

Check the UIView Class Reference for an explanation of how views redraw themselves.
0
 
darbid73Commented:
I notice you have not ended this question.

Did you find a solution?

If not - where does your bar sit in relation to other views.  What is its parent or superview?  Are you useing a split view controller?  Are you using Interface Builder for your .xib and these views or code?  What autoresizing properties are you using on the UIView, any subviews and on the bar?
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now