开发者

Ignoring Local Notification when device is off

I really need help with Local Notification. When my device is active i can tap "ok", and "action" buttons, but when device is turned off, a can only slide to unlock iPhone, but then automaticly app behave like I've tap "action" button. Anybody knows how can I put th开发者_StackOverflow社区ere "OK" button, like in system alarm clock.


I hope you already know this but the doc just says that,

"If the notification is an alert and the user taps the action button (or, if the device is locked, drags open the action slider), the application is launched".

And, it doesn't talk about any other option to change this behavior. I too tried to change that but I couldn't find a way. I feel that there is no way other than just to stick with that.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜