0
문제가 생겼습니다. 이벤트를 회전시킨 후 modalPresentationStyle을 동적으로 변경하고 싶습니다. 나는 문 UIModalPresentationPageSheet
이 작동하는 경우 modalView회전 후 modalPresentationStyle 변경
ZUITableViewController *ivc = [[ZUITableViewController alloc] init];
ivc.delegate = self;
_modalIsShowing = TRUE;
UINavigationController *nc = [[UINavigationController alloc] initWithRootViewController:ivc];
if (UIInterfaceOrientationIsLandscape(self.interfaceOrientation))
{
nc.modalTransitionStyle = UIModalTransitionStyleCoverVertical;
nc.modalPresentationStyle = UIModalPresentationFormSheet;
}
else{
nc.modalPresentationStyle = UIModalPresentationFullScreen;
}
[self presentModalViewController:nc animated:YES];
[ivc release];
[nc release];
아, 정말 고마워요. – nabiullinas