[iOS] Add APP_PAUSED and APP_RESUMED MainLoop notifications

This commit is contained in:
Zach Coleman
2023-11-22 11:43:40 -05:00
parent e96c42f0e1
commit ffe86eef04
5 changed files with 37 additions and 4 deletions

View File

@@ -201,11 +201,12 @@
</constant>
<constant name="NOTIFICATION_APP_RESUMED" value="1014">
Notification received from the OS when the app is resumed.
Specific to the Android platform.
Specific to mobile platforms.
</constant>
<constant name="NOTIFICATION_APP_PAUSED" value="1015">
Notification received from the OS when the app is paused.
Specific to the Android platform.
Specific to mobile platforms.
[b]Note:[/b] On iOS, you only have approximately 5 seconds to finish a task started by this signal. If you go over this allotment, iOS will kill the app instead of pausing it.
</constant>
</constants>
</class>