我编写像presentModalViewController不工作?
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:1.0];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromRight forView:mainDelegate.window cache:NO];
[mainDelegate.window addSubview:[self.calcentryController view]];
[UIView commitAnimations];
它工作正常按钮动作,但是当我在calcentryController.m使用一个动作
[self presentModalViewController:self.weeklyScoreController animated:YES];
去另一个视图控制器,它不工作的任何帮助请?