如何实现交互式通知ios8 [英] How to implement interactive notifications ios8

查看:99
本文介绍了如何实现交互式通知ios8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个定时待办事项列表应用,用户可以通过滑动来显示开始按钮,从锁定屏幕通知启动计时器。这是iOS 8中显示的一项新功能,但几乎没有文档显示如何实现此功能。
任何人都可以展示我将如何设置'开始'操作以及按此操作时运行的代码块?如果该应用程序已关闭,此功能是否仍然有用?

I'm creating a timed todo list app in which users can start a timer from a lock screen notification by swiping to reveal a start button. This is a new feature shown in iOS 8 but there is little documentation showing how to implement this feature. Can anyone show how I would go about setting up the 'start' action and the block of code which runs when this is pressed? If the app were closed would this feature still work?

推荐答案

为了了解有关交互式通知的更多信息 - iOS中的新功能8转到以下链接

In order to know more about interactive notifications- a new feature in iOS 8 go to the below link

https ://developer.apple.com/videos/wwdc/2014/

然后转到iOS通知中的新功能部分

and then go to the section "What's New in iOS Notifications"

这篇关于如何实现交互式通知ios8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆