title: Alert message for the button click in iphone sdk 4.3
body: <p>I am beginner to xcode programming.Please tell me how to display the alert message when we are going to click the button in xcode-iphone-4.3</p>
  
  <p>My Code is as follows,</p>
  
  <pre><code>- (IBAction)buttonPressed:(id)sender{
  
      UIAlertView* mes=[[UIAlertView alloc] initWithTitle:@"Hello World!!!!!!" 
                                                      message:@"This is the Iphone app" delegate:self cancelButtonTitle:@"Ok" otherButtonTitles: nil];
  
      [mes show];
  
      [mes release];
  </code></pre>
  
  <p>Please help me regarding this.</p>