views:

204

answers:

1

Hi,

I have two view controllers in the app. When the app starts, the layout of the root view controller's view is just fine. When a button is clicked, the view controller switches to the other one - which shows fine too.

However, when the view is switched back to the root view, the contents are shifted UP by about 20 pixels, leaving a white bar at the bottom! - and it was not there when the app had started.

Has anyone seen this? Any idea what's going on there?

Thanks, Sam.

A: 

I'm facing similar problems and can't figure out a soution. My root view is shown correctly and other three views have a white bar at the bottom. Any ideas? James, it is iPhone development and the language is Objective-C 2.0.

Yogi