Ver código fonte

1. 适配不同的盒子版本分辨率不一样 的显示和触控

huangxiaodong 1 ano atrás
pai
commit
8224712b14

+ 3 - 0
创维盒子/双子星云手机/CloudPlayer/PlayerViewController.mm

@@ -446,6 +446,9 @@ ComontAlretViewControllerDelegate>
             if (weakSelf.commandChannelManager.rc_socketStatus == RCSocketCloudPhoneStatusConnected){
                 dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
                     
+                    NSString *getPhoneSizeStr = [RCCommandHelp getPhoneSizecommand];
+                    [weakSelf send_data:getPhoneSizeStr];
+                    
                     [weakSelf fristConnectNeedGiveAMsgFun];
                     
                     //设置分辨率

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

@@ -67,7 +67,7 @@ ShowImageViewDelegate>{
                   inRect:CGRectMake(0, 0, glkshowImageView.drawableWidth, glkshowImageView.drawableHeight)
                 fromRect:[ciImage extent]];
     
-    //[self->glkshowImageView display];
+    [self->glkshowImageView display];
 }
 
 - (void)showIMage