iOS AILinkBleSDK - 蓝牙SDK
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

AppDelegate.m 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. @interface AppDelegate ()
  11. @end
  12. @implementation AppDelegate
  13. - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
  14. // Override point for customization after application launch.
  15. // [ELBluetoothManager setAppKey:@"df97ca735924fff0" appSecret:@"00912bb4e6b4a0c1363618b3f8"];
  16. return YES;
  17. }
  18. #pragma mark - UISceneSession lifecycle
  19. - (UISceneConfiguration *)application:(UIApplication *)application configurationForConnectingSceneSession:(UISceneSession *)connectingSceneSession options:(UISceneConnectionOptions *)options {
  20. // Called when a new scene session is being created.
  21. // Use this method to select a configuration to create the new scene with.
  22. return [[UISceneConfiguration alloc] initWithName:@"Default Configuration" sessionRole:connectingSceneSession.role];
  23. }
  24. - (void)application:(UIApplication *)application didDiscardSceneSessions:(NSSet<UISceneSession *> *)sceneSessions {
  25. // Called when the user discards a scene session.
  26. // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions.
  27. // Use this method to release any resources that were specific to the discarded scenes, as they will not return.
  28. }
  29. @end