2011-10-11 1 views

답변

0
-(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation 
    { 
    return (interfaceOrientation == UIInterfaceOrientationLandscapeRight); 
    } 
안내

http://goodliffe.blogspot.com/2009/12/iphone-forcing-uiview-to-reorientate.html

자세한 내용은이 사이트를 참조하십시오. 희망이 도움이 될 수 있습니다! 거꾸로 세로 및 가로 이렇게보기 컨트롤러에서 아이폰 OS 6

1

,

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation 
{ 
return UIInterfaceOrientationIsPortrait(interfaceOrientation); 
} 

- (BOOL)shouldAutorotate { 
return YES; 
} 

- (NSUInteger)supportedInterfaceOrientations { 
return UIInterfaceOrientationMaskPortrait | UIInterfaceOrientationMaskPortraitUpsideDown | UIInterfaceOrientationLandscapeLeft; 
} 

이 세로에 대한 방향을 것은 떠났다.