In React Native on iOS, is there a way to determine when an app is resumed? Such as an onResume event?

后端 未结 2 1635
旧时难觅i
旧时难觅i 2021-01-18 07:57

I\'m trying to determine when an app is resumed. For instance, when you open the app, press the home button on the device, and then go back into the app.

2条回答
  •  借酒劲吻你
    2021-01-18 08:34

    this is listed on the document about AppStateIOS ,if this is not enough, you can use the send event api read the AppDelegate.m in the iOS folder , you know more the life circle about the iOS App.

提交回复
热议问题