problem in UIAlet
<p>I am create my first iphone app however facing lots of problems now.. I am trying to use an alert window which has options of Yes and No. WHen i click on no it should remain on the same screen however when i click Yes it should take me to another screen but i am not able to do the Yes part. My code looks like this..</p>

<pre><code>-(IBAction)buttonPressedid)sender
{
NSString *TITLE = [[NSString alloc] initWithFormat: @"Do you want to add the ingredient to your Grocery list"];
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Message" 
message:TITLE 
delegate:nil
cancelButtonTitle:@"No" 
otherButtonTitles:@"YES",nil];
</code></pre>

<p>So when i click yes it should take me to another screen. How should i do that?</p>

<p>Pls help... </p>
