简体   繁体   English

iOS iPhone Simulator 5.0 EKAlarm无法正常工作

[英]iOS iPhone Simulator 5.0 EKAlarm not working

I'm working on a calendar app and when I add an alarm ( EKAlarm) to my EKEvent using either an absolute date or a relative offset the alarm/reminder doesn't fire on the simulator. 我正在使用日历应用程序,当我使用绝对日期或相对偏移量向我的EKEvent添加警报(EKAlarm)时,警报/提醒不会在模拟器上触发。 Am I missing something, is it suppose to work on the simulator? 我是否缺少某些东西,是否应该在模拟器上工作? I searched and did not find anything that says anything to the contrary. 我搜寻了一下,却没有发现相反的意思。 I am able to create UILocalNotifications and that works fine, I get the alerts/notifications for that in the simulator. 我能够创建UILocalNotifications,并且工作正常,我可以在模拟器中获得有关该警报/通知的信息。

Am I missing something? 我想念什么吗? Any help would be greatly appreciated! 任何帮助将不胜感激!

Unfortunately there is no calendar app in the simulator so it won't work as expected. 不幸的是,模拟器中没有日历应用程序,因此无法正常工作。 You will need to test on an actual device. 您将需要在实际设备上进行测试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM