Quote:
Originally Posted by infinity320
Hi guys!
Is there any way to set the orientation of the UIActionSheet programatically? My iPhone orientation is Portrait, but the UIActionSheet need to be Landscape. Can this be done?
So, my problem is that I don't want to rotate the rootviewcontroller to landscape mode, only the UIActionSheet. So is this possible somehow?
|
when you change you iphone to Landscape mode your alert view or action sheet , show in landscape mode u can try it with change the
return code to
return YES;
Quote:
- (BOOL)shouldAutorotateToInterfaceOrientation UIIn terfaceOrientation)interfaceOrientation {
// Return YES for supported orientations
return YES;
}
|