mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
[iOS] Add APP_PAUSED and APP_RESUMED MainLoop notifications
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user