You learn a new thing every day

Interesting behavior on the iOS 5 homescreen’s Notification Center. You can swipe individual notifications to view them.

Notification center

As seen here, I’m swiping an AIM notification to view an IM.

On the development side, you can edit the notification’s suffix, the “view” text, by adding

notif.alertAction = @"Show;

when creating a notification.

In this case, notif is the UILocalNotification.

Then instead of “slide to view”, it would say “slide to show”The uppercase letter is automatically lowercased.

Technorati Tags: , , ,

Anson Liu