app :: App :: will_resign_active
This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
Redef this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause.
# The application is about to move from active to inactive state
#
# This can occur for certain types of temporary interruptions
# (such as an incoming phone call or SMS message) or when the
# user quits the application and it begins the transition to
# the background state.
#
# Redef this method to pause ongoing tasks, disable timers, and
# throttle down OpenGL ES frame rates. Games should use this
# method to pause.
fun will_resign_active do on_pause
lib/ios/app.nit:149,2--159,35