On the iPhone, to display an alert message to the user you can use the UIAlertView class.
How to Display an Alert on the iPhone
Latest Comments