Solved

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

Posted on 2011-03-16
2
369 Views
Last Modified: 2012-05-11
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
Comment
Question by:paddycobbett
2 Comments
 
LVL 9

Accepted Solution

by:
lisfolks earned 300 total points
ID: 35508946
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
 
LVL 19

Assisted Solution

by:darbid73
darbid73 earned 200 total points
ID: 35914195
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many out there who own an iPad but are frustrated by the lack of Flash support. This prevents many webpages from displaying their content correctly on the iPad .  In addition Flash games are not supported on the iPad either.  Regardless of…
CocoaPods is the best way to manage library dependencies in iOS and OS X projects. By using cocoa pods there is no need of downloading the code from github and copying to your project. There are plenty of open source libraries now available with C…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now