Local Notification have 2 options 1.oK and second one local notification Action view or anything else [closed]
Local Notification have 2 options 1.oK and second one local notification Action view or anything else...can we change "OK" button text and do some action on it?
Actually, doc says that,
The message consists of the application name, a short message, and (in this case) two buttons: Close and View. The button on the right is called the action button and its default title is “View”. An application can customize the title of the action button and can internationalize the button title and the message so that they are in the user’s preferred language.
You cant change the "close" button's text. If you want to change the right button's text, use the following,
localNotif.alertAction = @"Show Me"; // Or something else
精彩评论