우리가 presentViewController 전화 후드 아래에 어떻게됩니까 아래 코드presentViewController 할 때 후드에서 어떤 일이 발생합니까?
self.view.backgroundColor = [UIColor yellowColor];
MyViewController *myVC = [[MyViewController alloc] initWithNibName:@"MyView" bundle:nil]
myVC.view.backgroundColor = [UIColor clearColor];
myVC.modalPresentationStyle = UIModalPresentationFullScreen;
[self presentViewController:myVC animated:NO completion:nil];
을 감안할 때? myVC가 보일 때 나는 노란 색을 볼 수 없다, 그때 그것의 viewDidAppear 메서드에서 myVC.view.superView를 점검했고 그것은 UIWindow이다.
1x. 그 의미는 모달 창이 올라갈 때까지 위의 경우에있는 presentingViewController.view (위의 경우 self.view)가 뷰 계층 구조에서 제거되고 presentViewController.view (위의 경우 myVC.view)가 UIWindow를 통해 추가됩니까?
질문 2. myVC.modalPresentationStyle! = UIModalPresentationFullScreen 인 경우 어떻게됩니까?
3. iOS는 전체 화면 모달 대화 상자가 최적화 될 때까지 presentViewController.view를 제외하고 UIWindow에서 모든보기를 제거합니까? 왜 안되면?
'clippingVC'란 무엇입니까? – rptwsthi