浏览代码

1.王建处理屏幕旋转坐标不对的问题

huangxiaodong 2 年之前
父节点
当前提交
2437bb01b9
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      创维盒子/双子星云手机/CloudPlayer/View/PlayerView.m

+ 3 - 2
创维盒子/双子星云手机/CloudPlayer/View/PlayerView.m

@@ -214,7 +214,7 @@ ShowImageViewDelegate>{
 
 - (void)setPoMas_makeWithImageRate:(CGFloat)w_h_rate isOpenVirtual:(BOOL)isOpenVirtual isUsageMode:(BOOL)isUsageMode{
     /*播放视图*/
-    touchCommondView.isLan = NO;
+//    touchCommondView.isLan = NO;
     [showImageView setBackgroundColor:[UIColor blackColor]];
     [touchCommondView mas_remakeConstraints:^(MASConstraintMaker *make) {
         CGFloat scr_W = SCREEN_W;
@@ -303,7 +303,7 @@ ShowImageViewDelegate>{
     }
     CGFloat des_W = SCREEN_W<SCREEN_H?SCREEN_W:SCREEN_H;/*实际较小的数字*/
     CGFloat des_H = (SCREEN_W>SCREEN_H?SCREEN_W:SCREEN_H) - h_forPhoneTop;/*实际较大的数字*/
-    touchCommondView.isLan = YES;
+//    touchCommondView.isLan = YES;
     [touchCommondView mas_remakeConstraints:^(MASConstraintMaker *make) {
         make.bottom.mas_equalTo(0.f);
         make.width.mas_equalTo(des_W*w_h_rate);
@@ -474,6 +474,7 @@ static CGRect startFrame;
     
     /*设置视图方向*/
     showImageView.isLan = isLan;
+    touchCommondView.isLan = isLan;
 }
 
 @end