app :: App :: did_enter_background
Redef this method to release shared resources, save user data, invalidate timers, and store application state to restore your application to its current state in case it is terminated later.
If your application supports background execution, this method
is called instead of will_terminate
when the user quits.
# The application just left foreground it can be suspended at any time
#
# Redef this method to release shared resources, save user data,
# invalidate timers, and store application state to restore your
# application to its current state in case it is terminated later.
#
# If your application supports background execution, this method
# is called instead of `will_terminate` when the user quits.
fun did_enter_background
do
on_save_state
on_stop
end
lib/ios/app.nit:161,2--173,4