浏览代码

1.修复bug

huangxiaodong 11 月之前
父节点
当前提交
7e204375f1

+ 6 - 0
创维盒子/双子星云手机/AppDelegate/SceneDelegate.m

@@ -42,6 +42,7 @@
 #import "audioPlayListManager.h"
 #import "QRCodeScanForChangeDeviceViewController.h"
 #import "customToastVew.h"
+#import "DFPlayer.h"
 
 @interface SceneDelegate ()<SetUsePWDViewControllerDelegate,GuideViewControllerDelegate,UITabBarControllerDelegate>
 @property(nonatomic, strong)   CalculatorViewController *calculatorVC;
@@ -567,6 +568,8 @@
 - (void)sceneDidDisconnect:(UIScene *)scene  API_AVAILABLE(ios(13.0)){
     HLog(@"sceneDidDisconnect");
     //[[boxDownloadFileManager shareInstance] suspendDownloadFileFun:YES withModel:nil withItem:nil];
+    
+    [[connectDeviceManager shareInstance] disconnect];
 }
 
 
@@ -971,6 +974,9 @@
     
     [customDownloadManager shareManager].uid = uid;
     
+    //盒子1音频在播放音乐,切换盒子2成功,仍在播放中
+    [[DFPlayer sharedPlayer] df_deallocPlayer];
+    
     [lastFileManager shareManager].uid = uid;
     [audioPlayListManager shareManager].uid = uid;
 }

+ 1 - 1
创维盒子/双子星云手机/Class/Set/uploadFile/uploadFileRecordViewController.m

@@ -801,7 +801,7 @@
     
     if(_isEditType){
        
-        CGFloat curHeight = SCREEN_H - CGRectGetMaxY(self.navBarBGView.frame) - 50 - 15 - (60 + safeArea);
+        CGFloat curHeight = SCREEN_H - CGRectGetMaxY(self.navBarBGView.frame) - 50 - 15 - (60 + safeArea + AdaptTabHeight);
         [_uploadFileRecordBgScorllV mas_remakeConstraints:^(MASConstraintMaker *make) {
             make.left.mas_equalTo(0);
             make.right.mas_equalTo(0);