O'Reilly logo

iPhone User Interface Cookbook by Cameron Banga

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Getting quick updates with Alert Views

System wide notifications are an essential component of any modern mobile operating system, allowing for a quick way to present short text prompts to the end user.

Apple has built Alert Views into the iOS SDK, giving developers the same notification system used by Apple for system alerts such as text messages. We can use these several ways, either in application or outside of the application through Push Notifications or Local Notifications.

In this recipe, we'll break down different ways that we can present the notifications to our user through Alert Views.

Getting ready

Alert Views can be found in many applications on both iPhone and iPad devices. It's useful to have an application on hand like Alarm Clock ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required