Solved

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

Posted on 2011-03-16
2
370 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

What's a UDID? If you're involved in developing, testing, or even reviewing an iOS application that's in beta, then at some point you may need to know the UDID for any iOS devices that you'll be testing on. What's the UDID? It stands for Unique Dev…
Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

813 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

16 Experts available now in Live!

Get 1:1 Help Now