난 다음 실행하면이 오류를 제공, 현재의 컨트롤러는 테이블 컨트롤러 ....presentModalViewController가 오류를 발생시킵니다.
SetController *aSecondView = [[SetController alloc] initWithNibName:@"Sets" bundle:nil];
SchedAppDelegate *mainDelegate = (SchedAppDelegate *)[[UIApplication sharedApplication] delegate];
[mainDelegate setSettingsViewController:aSecondView];
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:2.0];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:[[self view] superview] cache:YES];
[self.view removeFromSuperview];
[self presentModalViewController:aSecondView animated:NO];
//[aSecondView release];
[UIView commitAnimations];
실행 했습니까? UIViewAnimationTransitionFlipFromRight에 대해 작동하지 않았습니다. –
forView : [[self view] superview] 대신 시도 했습니까? 또한 코드가 없으므로 테스트 할 수있는 방법이 없습니다 – rpetrich
시도했습니다. 그러나 나는 그것을 할 수 없었다. 나는 나의 완전한 부호로 편집했다 u는보고 대답 할 수 있는가? –