且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在iPhone启动(引导)或关闭后加载应用程序

更新时间:2023-10-13 16:59:22

不是,那不可能.唯一可以帮助您在特定时间启动应用程序的是UILocalNotification,但它只允许固定时间,而不是相对的时间,例如"XY后两秒钟",并且不能保证真正启动应用程序,因为它会取决于用户的输入.

Nope, thats not possible. The only thing that might help you to launch an application at a specific time is a UILocalNotification but it only allows fixed times and not relative ones like "two seconds after XY" and it isn't guaranteed to really start the app because it depends on user input.