ios 화면 고정1 iPhone, ipad 화면 가로, 세로 고정 [ios] 아이폰을 개발하다 보면 회전을 한다든지 세로 또는 가로 고정으로 해야 할 때가 있습니다. 아래 코드는 UIViewController 에서 모든 방향으로 회전이 가능한 코드입니다. - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { // Return YES for supported orientations return YES; } UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight retu.. 2015. 12. 17. 이전 1 다음