摄像头登录代码点击才会登录

This commit is contained in:
祝发冬
2023-08-27 23:37:12 +08:00
parent 8ec73c1dcb
commit 347226bd3e
2 changed files with 4 additions and 3 deletions
@@ -30,7 +30,7 @@ extern BOOL isfromCameraView;
// Do any additional setup after loading the view.
[self addTitleViewWithTitle:@"选择设备"];
[self creatTab];
[self loginGWP2P];
}
-(void)viewDidAppear:(BOOL)animated{
@@ -131,6 +131,7 @@ extern BOOL isfromCameraView;
// [self.view makeToast:@"设备已达上限"];
// return;
// }
[self loginGWP2P];
if ( [GWP2PClient sharedClient].linkStatus==P2PLinkStatusOK) {