0

부모 UITabBarController가있는 UIViewController가 있습니다. UIViewController는 UITabBarController 위에 있습니다. [: 선택기 애니메이션 : 자기 presentViewController YES 완성 : nil을 상기의 UIViewController이 그 아래 위치하는 주소록에 대한 호출로부터 리턴 후에 호출된다presentViewController 및 UIViewController 레이아웃

(높이가 갑자기 증가)

선택기는 ABPeoplePickerNavigationController

감사, 투자 수익 (ROI)

+0

피커가 나타나면 탭바 컨트롤러가 항목 (탭)을 변경합니까? – Kepler

+0

아니요, 나중에 동일한 탭으로 돌아갑니다. 변경 탭 이벤트가 실행되지 않습니다. – user1746700

+0

자체 (클래스 란 무엇입니까?) 란 무엇입니까? – Kepler

답변

-2

그 말을 매우 다른, 당신이 필요, 우리는 더 몇 가지 코드가없는,하지만 난 도우려고 : 에 [self presentViewController:picker animated:YES completion:nil]을 변경하려고

도움이되지 있다면

, viewDidLoad 에서의 ViewController의 관점 (제시) 높이를 설정하려고 또는 당신은 탐색 컨트롤러없이 newView을 제시하려고 할 수 있습니다

newView.bounds = mainView.bounds; //newView can be nextViewController.view 
newView.biunds.size.height=newView.biunds.size.height- self.navBar.bounds.size.height;//devide navBar height (you can delete this line)     
newView.frame = CGRectMake(newView.frame.origin.x + 784, newView.frame.origin.y, newView.frame.size.width, newView.frame.size.height); 
[mainView addSubview:newView]; 

/* Begin transition */ 
[UIView beginAnimations:@"Slide Left" context:oldView]; 
[UIView setAnimationDelegate:self]; 
[UIView setAnimationDelay:0.0f]; 
[UIView setAnimationDuration:0.5f]; 
[UIView setAnimationDidStopSelector:@selector(slideInCompleted:finished:context:)]; 
[UIView setAnimationCurve:UIViewAnimationCurveEaseOut]; 
newView.frame = CGRectMake(0,0, newView.frame.size.width, newView.frame.size.height); 
oldView.frame = CGRectMake(oldView.frame.origin.x - 784, oldView.frame.origin.y,  oldView.frame.size.width, oldView.frame.size.height); 
[UIView commitAnimations]; 

후 주석을, 당신의 결과입니다 방법에 대해 설명합니다.