In this iPhone SDK Tutorial by Gadgetmac, we take a look at the UIAlertView. The UIAlertView is a pop-up that offers a title, message and a range of buttons. It can also be customised to offer images, videos and a different colour scheme. The UIAlertView is a very useful feature and is therefore used in a range of different Apps.
The Code for the UIAlertView is very simple and because it is already built into the iPhone SDK, interface builder is not required. You can put the code in nearly any method depending on when you would like the UIAlertView to appear. In this tutorial I put it in the viewDidLoad as I wanted the UIAlertView to appear when the view loaded.