iOS AILinkBleSDK - 蓝牙SDK
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AppDelegate.m 2.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. //
  2. // AppDelegate.m
  3. // AILinkBleSDKDemo
  4. //
  5. // Created by iot_user on 2020/4/9.
  6. // Copyright © 2020 IOT. All rights reserved.
  7. //
  8. #import "AppDelegate.h"
  9. #import <AILinkBleSDK/ELBluetoothManager.h>
  10. @implementation AppDelegate
  11. - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
  12. {
  13. // Override point for customization after application launch.
  14. return YES;
  15. }
  16. - (void)applicationWillResignActive:(UIApplication *)application
  17. {
  18. // Sent when 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.
  19. // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
  20. }
  21. - (void)applicationDidEnterBackground:(UIApplication *)application
  22. {
  23. // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
  24. // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
  25. }
  26. - (void)applicationWillEnterForeground:(UIApplication *)application
  27. {
  28. // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
  29. }
  30. - (void)applicationDidBecomeActive:(UIApplication *)application
  31. {
  32. // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
  33. }
  34. - (void)applicationWillTerminate:(UIApplication *)application
  35. {
  36. // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
  37. }
  38. @end