I have set my iPhone in the landscape mode but when I try to display the UIAlertView its come in the portrait mode. How it will display in landscape mode?
+2
A:
Add the following code in applicationDidFinishLaunching in applicationdelegate.m file
[[UIApplication sharedApplication] setStatusBarOrientation: UIInterfaceOrientationLandscapeLeft animated: NO ];
Arman
2009-08-25 08:01:31