title: presentModalViewController not working?
body: <p>i coded in button action like</p>
  
  <pre><code>  [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];
  </code></pre>
  
  <p>it works fine,but when i use in calcentryController.m in one action</p>
  
  <pre><code>  [self presentModalViewController:self.weeklyScoreController animated:YES];
  </code></pre>
  
  <p>to go another viewcontroller , it is not working any help pls?</p>