[英]How to make a UILocalNotification like iOS5 embbed Weather Notification in NotificationCenter
first, it can not be closed unless you shut it down in settings/notification 首先,除非您在设置/通知中将其关闭,否则无法将其关闭
second, simple UILocalNotification can just show a string text in NotificationCenter, but weather notification can show much more complex 其次,简单的UILocalNotification只能在NotificationCenter中显示字符串文本,而天气通知则可以显示复杂得多的内容
three, simple UILocalNotification can just be clicked, and active the app, but weather notification can be slided to show two different views, week view and today view 第三,只需单击简单的UILocalNotification即可激活该应用程序,但可以滑动天气通知以显示两种不同的视图:周视图和今天视图
Till today (iOS 5.0.1) is not possible. 直到今天(iOS 5.0.1)都无法使用。 There are not public API for doing that.
没有公开的API可以做到这一点。 Some "insiders" claim it will be possible in future (and I also hope so of course).
一些“内部人士”声称将来有可能(当然,我也希望如此)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.