1
将有一个UILocalNotification
计划在我的应用程序,但我发现预定UILocalNotification
弹出,即使我已经杀了应用程序。我不认为这是我的应用程序的预期行为。我想知道是否有可能取消预定的UILocalNotification
当用户杀了我的应用程序。谢谢!取消预定的UILocalNotification,如果应用程序被杀
将有一个UILocalNotification
计划在我的应用程序,但我发现预定UILocalNotification
弹出,即使我已经杀了应用程序。我不认为这是我的应用程序的预期行为。我想知道是否有可能取消预定的UILocalNotification
当用户杀了我的应用程序。谢谢!取消预定的UILocalNotification,如果应用程序被杀
不幸的是,没有 - app states and multitasking上的文档非常清晰,如果您的应用在后台,您将使用的方法-[UIApplicationDelegate applicationWillTerminate:]
不会被调用。