iOS7.1에서 잘 작동하는 프로젝트를 디버깅 중이지만 iOS 8.0에서 제대로 콘텐츠를 배치하지 않습니다. 나는이 방법에 이르기까지 문제를 좁혀 없습니다했습니다iOS8 UIViewControllerTransitionCoordinator에서 인터페이스 방향을 이해하는 방법?
[self orientRootViewControllerForOrientation:rootViewController.interfaceOrientation];
iOS8의 더 이상 rootViewController.interfaceOrientation
에서 올바른 UIInterfaceOrientation를 반환하는 대신이 "거꾸로"를 반환합니다. 설명서를 읽기
, I는 비밀 메시지에 직면하고 있습니다 :
사용 viewWillTransitionToSize : withTransitionCoordinator : 인터페이스 기반 조정을 할 수 있습니다.
UIViewControllerTransitionCoordinator에서 설명서를 읽었을 때 속성이 표시되지 않습니다. UIViewControllerTransitionCoordinator에서 방향을 가져올 인터페이스 방향을 예상하는 메서드를 수정하려면 어떻게해야합니까?