|
@@ -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;
|
|
|
}
|