I am not able show another controller using presentModalViewController:
<p>Please see the code</p>

<pre><code>   -(IBAction)startGame{
NSLog(@"Button is pressed");

CharadesAppDelegate  *del=(CharadesAppDelegate*)[[UIApplication sharedApplication]delegate];
[del setAllTeams:teamDict];
[del setScore:selectedScroll];
Playing *p=[[Playing alloc]init];
    [self presentModalViewController:p animated:YES];

}
</code></pre>

<p>I want to present Playing controller which only contains following line</p>

<pre><code>    - (void)viewDidLoad {
[super viewDidLoad];
self.view.backgroundColor=[UIColor colorWithPatternImage:[UIImage imageNamed:@"bg.png"]];
</code></pre>

<p>}
but unfortunately I am not able to switch to another controller nothing happens when I press the button , please help</p>
