开发者

Local Notification have 2 options 1.oK and second one local notification Action view or anything else [closed]

It's开发者_高级运维 difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜