From a68c48b8e575606bdf7edfc8303b892d51477be9 Mon Sep 17 00:00:00 2001 From: kai60 Date: Mon, 5 Jul 2021 09:27:03 +0800 Subject: [PATCH] =?UTF-8?q?iOS14.6=E6=99=BA=E8=83=BD=E8=BF=9E=E6=8E=A5?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ifish.xcodeproj/project.pbxproj | 4 ++-- Ifish/controllers/leftcontrollers/ConnectWifiViewController.m | 1 + .../controllers/leftcontrollers/SecondConnectWifiController.m | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Ifish.xcodeproj/project.pbxproj b/Ifish.xcodeproj/project.pbxproj index 8912fef..41dfe9d 100644 --- a/Ifish.xcodeproj/project.pbxproj +++ b/Ifish.xcodeproj/project.pbxproj @@ -15817,7 +15817,7 @@ CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 3; + CURRENT_PROJECT_VERSION = 4; DEVELOPMENT_TEAM = WFX8GD5HFX; ENABLE_BITCODE = NO; ENABLE_TESTABILITY = YES; @@ -15935,7 +15935,7 @@ CODE_SIGN_IDENTITY = "Apple Development"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 3; + CURRENT_PROJECT_VERSION = 4; DEVELOPMENT_TEAM = WFX8GD5HFX; ENABLE_BITCODE = NO; ENABLE_TESTABILITY = YES; diff --git a/Ifish/controllers/leftcontrollers/ConnectWifiViewController.m b/Ifish/controllers/leftcontrollers/ConnectWifiViewController.m index d4c31e4..0339a22 100644 --- a/Ifish/controllers/leftcontrollers/ConnectWifiViewController.m +++ b/Ifish/controllers/leftcontrollers/ConnectWifiViewController.m @@ -381,6 +381,7 @@ extern BOOL formLogIn;//连接页面是否来自登录界面 [[ESPTouchTask alloc]initWithApSsid:apSsid andApBssid:apBssid andApPwd:apPwd andIsSsidHiden:isSsidHidden]; // set delegate // [self._esptouchTask setEsptouchDelegate:self._esptouchDelegate]; + [self._esptouchTask setPackageBroadcast:YES]; [self._condition unlock]; NSArray * esptouchResults = [self._esptouchTask executeForResults:taskCount]; NSLog(@"ViewController executeForResult() result is: %@",esptouchResults); diff --git a/Ifish/controllers/leftcontrollers/SecondConnectWifiController.m b/Ifish/controllers/leftcontrollers/SecondConnectWifiController.m index 1700953..5d8b346 100644 --- a/Ifish/controllers/leftcontrollers/SecondConnectWifiController.m +++ b/Ifish/controllers/leftcontrollers/SecondConnectWifiController.m @@ -696,6 +696,7 @@ extern BOOL isfromCameraView; [[ESPTouchTask alloc]initWithApSsid:apSsid andApBssid:apBssid andApPwd:apPwd andIsSsidHiden:isSsidHidden]; // set delegate // [self._esptouchTask setEsptouchDelegate:self._esptouchDelegate]; + [self._esptouchTask setPackageBroadcast:YES]; [self._condition unlock]; NSArray * esptouchResults = [self._esptouchTask executeForResults:taskCount]; NSLog(@"ViewController executeForResult() result is: %@",esptouchResults);