UIlocalNotification中的下一个触发日期 [英] next fire date in UIlocalNotification
本文介绍了UIlocalNotification中的下一个触发日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好
我创建了一个UILocalNotification ....&当我打印
Hi All
I have created a UILocalNotification....& when i print it
NSLog(@"Notification %@",self.notification)
它给出了
Notification <UIConcreteLocalNotification: 0x6f45440>
{fire date = 2010-10-22 00:09:00 -0700, time zone = America/Vancouver (PDT) offset -25200
(Daylight), repeat interval = 64, **next fire date** = 2010-10-22 00:10:00 -0700}
但是我想访问此通知的下一个触发日期,如何获得该值?
请为此提供任何帮助.
But I want to access the next fire date of this Notification how can i get this value?
Please any help for this.
推荐答案
您不能直接将其作为属性访问,因为它是基于fireDate和repeatInterval计算的.
You can't access it directly as a property, because it is calculated based on fireDate and repeatInterval.
这是您问题的答案
如何获取下一个点火日期来自UILocalNotification对象
这篇关于UIlocalNotification中的下一个触发日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文