UTSiOSHookProxy
应用程序生命周期回调协议,此协议内的所有函数均由 app 调用,开发者可按需实现对应时机的回调函数。具体的使用方法详见
应用程序生命周期回调函数
onCreate()
applicationDidFinishLaunchingWithOptions(application, launchOptions)
didRegisterForRemoteNotifications(deviceToken)
didFailToRegisterForRemoteNotifications(error)
didReceiveRemoteNotification(userInfo)
didReceiveLocalNotification(notification)
applicationHandleOpenURL(application, url)
applicationOpenURLOptions(app, url, options)
applicationWillResignActive(application)
applicationDidBecomeActive(application)
applicationDidEnterBackground(application)
applicationWillEnterForeground(application)
applicationMain(argc, argv)
applicationContinueUserActivityRestorationHandler(application, userActivity, restorationHandler)