. TRUE AutorotateInterfaceOrientation, , . ( ), . !
, , .
, , viewDidLoad, . presentModalView , viewDidLoad (, ). , - :
- (void) viewDidLoad
{
[super viewDidLoad];
[self performSelector:@selector(presentModal) withObject:nil afterDelay:0];
}
-(void) presentModal{
}
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return YES;
}