Build版本号V9.9.13,把麦克风权限添加上

This commit is contained in:
wbzhan
2019-07-23 19:50:27 +08:00
parent e5c41967ab
commit 21e643a821
4 changed files with 4 additions and 24 deletions
@@ -40,12 +40,6 @@ typedef NS_ENUM(NSInteger,lodingViewdissMissStyle) {
@interface YooseeNextConnectViewController ()<UITextFieldDelegate,UIAlertViewDelegate>
{
void *_context;
BOOL _bQuit;
BOOL _bInitWif;
BOOL _initPwSuc;//初始化密码是否成功
int _soundInitCode;
}
@property (strong,nonatomic) NSMutableDictionary *addresses;
@@ -71,7 +65,6 @@ typedef NS_ENUM(NSInteger,lodingViewdissMissStyle) {
- (void)viewDidLoad {
[super viewDidLoad];
//智能联机
_initPwSuc = NO;
_isDeviceLinkIn = NO;
self.conectType = conectType_Intelligent;
self.addresses = [[NSMutableDictionary alloc] initWithCapacity:1];
@@ -122,16 +115,11 @@ typedef NS_ENUM(NSInteger,lodingViewdissMissStyle) {
[[NSNotificationCenter defaultCenter] removeObserver:self name:UIKeyboardWillShowNotification object:nil];
[[NSNotificationCenter defaultCenter] removeObserver:self name:UIKeyboardWillHideNotification object:nil];
_bQuit = YES;
self.isWaiting = NO;//isWaiting is NO
self.isFinish = YES;
self.isRun = NO;
[[GWP2PDeviceLinker shareInstance] p2pStopSmartLink];
}
-(void)viewWillAppear:(BOOL)animated{
[super viewWillAppear:animated];
_bQuit = NO;
}
-(void)viewDidAppear:(BOOL)animated{
[super viewDidAppear:animated];
@@ -361,7 +349,6 @@ typedef NS_ENUM(NSInteger,lodingViewdissMissStyle) {
[self savePassw];
//声波智能联机
[self smartLinkConnect];
self.isFinish = NO;
}
}
}
@@ -375,7 +362,7 @@ typedef NS_ENUM(NSInteger,lodingViewdissMissStyle) {
[[GWP2PDeviceLinker shareInstance] p2pStopSmartLink];
[self connectNormalView];
[self.view makeToast:@"WiFi连接失败"];
}
}
});
[[GWP2PDeviceLinker shareInstance] p2pSmartLinkDeviceWithWiFiSSID:weakSelf.wifiName password:weakSelf.wifiPwd useSimpleConfig:YES deviceLinkIn:^(NSDictionary *deviceDict) {
NSLog(@"声波配网成功,返回数据:%@",deviceDict);