Using the Alert View
One of the views that is not listed in the XCode Library is the UIAlertView. The UIAlertView displays an alert view to the user and is usually created during runtime. Hence, to use it you have to create it using code.
The UIAlertView is useful for cases in which you have to display a message to the user. In addition, it can serve as a quick debugging tool when you want to observe the value of a variable during runtime.
The following Try It Out explores the UIAlertView in more detail. You need to download the code as indicated here.
Codefile [UsingViews.zip] available for download at Wrox.com