Re: iphone landscape problems

2009-02-18 Thread Memo Akten
I've identified the problem for the first scenario (view appearing portrait then rotating). I have a function [MyViewController show] and [MyViewController hide] which transition the view in and out: [UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuration:ANIMATION_TIME]; [UI

Re: iphone landscape problems

2009-02-18 Thread Memo Akten
Hi Thanks for the response. I was building for 2.2. I am now trying for 2.2.1 and getting the exact same behavior. Regarding the 2nd point, if I use UIActionSheet it works correctly, but UIAlertView does not orient. A bit of info about my setup. - I create window manually in applicationDidF

Re: iphone landscape problems

2009-02-18 Thread Robert Marini
In my applicationDidFinishLaunching I have: [[UIApplication sharedApplication] setStatusBarOrientation: UIInterfaceOrientationLandscapeRight animated:NO]; Out of curiosity, what version of iPhone OS are you building for? If you're using 2.1 and later, it should just work. If not, you'll ne

iphone landscape problems

2009-02-18 Thread Memo Akten
Hi All, i have two problems regarding running my app in landscape mode: 1. I would like my app to to start in landscape mode. In my root viewcontroller I have: - (BOOL)shouldAutorotateToInterfaceOrientation: (UIInterfaceOrientation)interfaceOrientation { return (interfaceOrientation ==