Show overlay (pause menu) when app is exited but not entirely closed

Hi,

I was wondering if it was possible to show my pause menu (which is a composer overlay) when my app is closed (user presses home button/locks device).

I have seen this in many other apps, and was wondering if this is something I could listen for and cause the overlay to appear/pause all running functions and timers.

Thanks

On Android you can catch the “Back” button but not any of the other triggers. On iOS I don’t think Apple would approve it. When you hit the home button you need to get to the home screen as expedient as possible.

Now you can use the “system” event to catch suspend and resume actions, but you have to do things expediently. You could show an overlay then and when the user comes back to the app the overlay would be showing.

Rob

On Android you can catch the “Back” button but not any of the other triggers. On iOS I don’t think Apple would approve it. When you hit the home button you need to get to the home screen as expedient as possible.

Now you can use the “system” event to catch suspend and resume actions, but you have to do things expediently. You could show an overlay then and when the user comes back to the app the overlay would be showing.

Rob