我有一个UILocalNotification对象,我设置了重复间隔日,周和月.我在访问对象的开火日期时没有任何麻烦:
[cell.detailTextLabel setText:[notification1.fireDate description]];
Run Code Online (Sandbox Code Playgroud)
但是我遇到了下一次火灾日期的麻烦.如果我将上面的notification1对象打印到控制台,我得到这个:
<UIConcreteLocalNotification: 0x613e060>{fire date = 2010-11-29 03:53:52 GMT, time zone = America/Denver (MST) offset -25200, repeat interval = 16, next fire date = 2010-11-30 03:53:52 GMT}
Run Code Online (Sandbox Code Playgroud)
这个对象包含显示下一个开火日期所需的值或数据...但我找不到它!有谁知道我可以通过编程方式获得它?
谢谢