V5.0.0bug修复
This commit is contained in:
+4
-5
@@ -98,8 +98,6 @@
|
||||
@property(nonatomic,strong) RusunHaveHeateSetViewController *rusunSet;
|
||||
@property(nonatomic,strong) RunSun84CHSetViewController *rusun84Set;
|
||||
@property (nonatomic, strong) RuiMeiSetViewController *ruimeiSet;
|
||||
//@property(nonatomic,strong) DXPopover *popover;
|
||||
//@property(nonatomic,strong) LXPopView *popView;
|
||||
Strong MessageAlertView *popView;
|
||||
@property(nonatomic,strong) UIButton *rightPopButton;
|
||||
@property (nonatomic,strong) SetNameTextViewController *setNameVC;
|
||||
@@ -110,7 +108,6 @@ Strong MessageAlertView *popView;
|
||||
@property(nonatomic,strong) HaveHotCoolWenDuPicview *xuanduoPicView;
|
||||
Weak UIView *remoteView;//显示player的载体
|
||||
Strong UIImage *screenShotImage;//截图
|
||||
|
||||
@end
|
||||
extern BOOL formLogIn;//连接页面是否来自登录界面
|
||||
BOOL isfromCameraView;//未绑定鱼缸时,去绑定鱼缸 判断是否从摄像头界面进入
|
||||
@@ -128,6 +125,7 @@ Strong UIImage *screenShotImage;//截图
|
||||
|
||||
-(void)viewWillAppear:(BOOL)animated{
|
||||
[super viewWillAppear:animated];
|
||||
|
||||
//跳转到录制界面会将cameraHViewDelegate 置nil
|
||||
_bottomToolHView.cameraHViewDelegate=self;
|
||||
//扫码激活用 更新isActive
|
||||
@@ -145,7 +143,6 @@ Strong UIImage *screenShotImage;//截图
|
||||
_isCanAutoOrientation = YES;
|
||||
//设置默认竖屏
|
||||
[[AppDelegate sharedDefault] application:[UIApplication sharedApplication] supportedInterfaceOrientationsForWindow:[AppDelegate sharedDefault].window];
|
||||
[self.view hideToast];
|
||||
//先判断是否授权
|
||||
if (!self.contact.isActive) {
|
||||
|
||||
@@ -200,6 +197,7 @@ Strong UIImage *screenShotImage;//截图
|
||||
-(void)viewWillDisappear:(BOOL)animated{
|
||||
|
||||
[super viewWillDisappear:animated];
|
||||
[self.view hideToast];//隐藏所有弹出框
|
||||
//屏幕长亮关闭
|
||||
[[ UIApplication sharedApplication] setIdleTimerDisabled:NO];
|
||||
|
||||
@@ -215,7 +213,6 @@ Strong UIImage *screenShotImage;//截图
|
||||
}
|
||||
[self.player p2pStop];
|
||||
[[NSNotificationCenter defaultCenter] removeObserver:self name:RECEIVE_REMOTE_MESSAGE object:nil];
|
||||
[self.bottomToolHView removeObViserFromSelf];
|
||||
|
||||
}
|
||||
- (void)dealloc {
|
||||
@@ -344,6 +341,7 @@ Strong UIImage *screenShotImage;//截图
|
||||
_isReject=YES;
|
||||
NSLog(@"摄像头连接失败");
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[self.view hideToast];
|
||||
[self.view makeToast:@"连接失败"];
|
||||
[self hiddenMonitoringUI:NO callWithErrorType:(NSInteger)error isReCall:NO];
|
||||
});
|
||||
@@ -2738,6 +2736,7 @@ Strong UIImage *screenShotImage;//截图
|
||||
|
||||
[self.canvasView bringSubviewToFront:self.promptButton];
|
||||
}
|
||||
|
||||
}
|
||||
/*
|
||||
GWP2PCallErrorNone = 0, //0无原因
|
||||
|
||||
Reference in New Issue
Block a user