1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Problems with views "shifting"

Discussion in 'iPhone/iPad Programming' started by Dirk the Daring, Feb 27, 2009.

  1. macrumors newbie

    #1
    Morning, everyone--

    I have a simple project with a single view controller. This view controller has two views that it switches between by setting it's view to each as needed. This works fine.

    So I decided I'd break down and have the app accept iPhone orientation changes. Adding the animated rotation was easy, and I added calls to the views to inform them of orientation changes so they could redraw correctly.

    Then something odd happened. I noticed that as I was flipping between the two views, doing rotations, etc... The views were shifting. Specifically, they were shifting down. Sometimes by small amounts, sometimes by larger amounts, but always down.

    It has me baffled. Has anyone seen this happen?
     

Share This Page