0
iPhone의 표준 iPod 응용 프로그램과 비슷한 효과를내는 올바른 방법은 무엇입니까? 장치를 가로 모드로 돌리면보기가 흐름을 덮지 만, 전환 유형이 희미 해지고 회전 화면이 아닙니다.회전 애니메이션없이 IOS 회전 장치
이 내가 모달 뷰를로드하고 방법입니다
- (void) willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration {
if (UIInterfaceOrientationIsLandscape(toInterfaceOrientation)) {
carouselView.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
[self presentModalViewController:carouselView animated:YES];
}
}
감사합니다!
안드리
presentModalViewController는 더 이상 사용되지 않습니다. –