views:

92

answers:

1

Hi....

I've an iPad app that supports all orientation... my problem was on the start up of the application. In case of landScapeRight and landScapeLeft and portrait(top home button) the views shows correctly but when the app start in portrait (bottom home button) the views show in landscape mode... I've implemented the

- (void) willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation

When I change the apps orientation the views shows correctly.

A: 

I don't know the answer, but I'm thinking that perhaps the os assumes that portrait with the button at the bottom is the default view and therefore doesn't query the app or rotate it. Does the app have a "default" view as such?

Derek Clarkson