에 호출되지 willRotateToInterfaceOrientation : 나는 iOS7에에서 실행하는 경우은 내가 따라서를 제시 내 응용 프로그램에서 <a href="https://github.com/vfr/Reader">VFR PDF viewer library</a>를 사용하고 iOS8의
ReaderDocument *document = [ReaderDocument withDocumentFilePath:pdfFile password:nil];
ReaderViewController *vc = [[ReaderViewController alloc] initWithReaderDocument:document];
[self.navigationController pushViewController:vc animated:YES];
은 모든 것이 잘 작동합니다.
iOS8에서 내 앱을 실행하면 ReaderViewController의 willRotateToInterfaceOrientation 메서드가 호출되지 않으므로 장치를 회전 할 때 문서가 올바르게 다시 포맷되지 않습니다.
그러나 iOS8의 라이브러리와 함께 제공되는 데모 응용 프로그램을 실행하면 ReaderViewController의 willRotateToInterfaceOrientation이 호출되어 라이브러리가 정상적으로 작동한다고 생각하게되고 잘못된 작업을 수행하고 있습니다. 뭔가) 내 애플 리케이션.
저는이 동작에 다소 의문이 있습니다. willRotateToInterfaceOrientation이 iOS8에서 내 앱에서 호출되지 않는 이유는 무엇입니까?하지만 다른 유사 콘텐츠에서는 발생합니까? 어떻게 추적 할 수 있습니까?
문제를 해결할 때 자신의 대답을 승인 된 답변으로 확인하여 다른 사람들이 해결할 수 있음을 알 수 있습니다. – HpTerm