Life cycle of app - when app is in terminated and push kit payload comes

前端 未结 2 1518
一生所求
一生所求 2021-02-03 15:59

What would be life cycle of app? when app is in terminated state and push kit payload comes.

First of all Pushkit delegate methods will work or AppDelegate methods will

2条回答
  •  孤城傲影
    2021-02-03 16:24

    Life cycle of app - when app is in terminated and push kit payload comes

    • When you receive a push payload then application became active for 20-30 second in terminate state then call following method.

    • didFinishLaunchingWithOptions(Here perform some intilization operation intiliaze window and rootviewcontroller and execute other code.)

    • didReceiveIncomingPushWithPayload

    • In this 20-30 second application became active and also you can get a active state of application in the didReceiveIncomingPushWithPayload

提交回复
热议问题