Solved

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

Posted on 2011-03-16
2
372 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 20

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
A professional opinion on which Apple product to buy, and a tidbit about the WWDC.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

752 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