FIRAppDelegate.m 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. // Copyright 2019 Google
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. #import "FIRAppDelegate.h"
  15. @implementation FIRAppDelegate
  16. - (BOOL)application:(UIApplication *)application
  17. didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
  18. return YES;
  19. }
  20. - (void)applicationWillResignActive:(UIApplication *)application {
  21. // Sent when the application is about to move from active to inactive state. This can occur for
  22. // certain types of temporary interruptions (such as an incoming phone call or SMS message) or
  23. // when the user quits the application and it begins the transition to the background state.
  24. // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame
  25. // rates. Games should use this method to pause the game.
  26. }
  27. - (void)applicationDidEnterBackground:(UIApplication *)application {
  28. // Use this method to release shared resources, save user data, invalidate timers, and store
  29. // enough application state information to restore your application to its current state in case
  30. // it is terminated later.
  31. // If your application supports background execution, this method is called instead of
  32. // applicationWillTerminate: when the user quits.
  33. }
  34. - (void)applicationWillEnterForeground:(UIApplication *)application {
  35. // Called as part of the transition from the background to the inactive state; here you can undo
  36. // many of the changes made on entering the background.
  37. }
  38. - (void)applicationDidBecomeActive:(UIApplication *)application {
  39. // Restart any tasks that were paused (or not yet started) while the application was inactive. If
  40. // the application was previously in the background, optionally refresh the user interface.
  41. }
  42. - (void)applicationWillTerminate:(UIApplication *)application {
  43. // Called when the application is about to terminate. Save data if appropriate. See also
  44. // applicationDidEnterBackground:.
  45. }
  46. @end