南鑫林 лет назад: 5
Родитель
Сommit
bc55b4e3b9

+ 0 - 2
RainbowPlanet/RainbowPlanet/Manager/AliyunVodManager/AliyunVodUpToyoPublishManager/AliyunVodupToyoPublishManager.swift

@@ -59,11 +59,9 @@ class AliyunVodUpToyoPublishManager: NSObject {
     }
     
     func destroy() {
-        self.aliyunVodUpToYoPublishModel = nil
         self.isUploadingVideo = true
         self.curTimes = 0
         self.imagesProgressValue = 0.0
-        self.aliyunVodPublishManager = nil
     }
 
 }

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/ViewController/Main/CommunityViewController.swift

@@ -196,7 +196,7 @@ class CommunityViewController: BaseViewController {
         }
         
         // 待发布
-        observe = NotificationCenter.default.addObserver(forName: NSNotification.Name("DismissFromPublishEditVc"), object: nil, queue: OperationQueue.main) {[weak self] (notification) in
+        observe = NotificationCenter.default.addObserver(forName: NSNotification.Name("DismissFromPublishEditVc"), object: "", queue: OperationQueue.main) {[weak self] (notification) in
             self?.reloadSegmentedFollowView()
             let aliyunVodUpToYoPublishModel = notification.object as? AliyunVodUpToYoPublishModel
             AliyunVodUpToyoPublishManager.shared.publish(aliyunVodUpToYoPublishModel: aliyunVodUpToYoPublishModel, view: self?.navigationBarbgView)

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/PublishModule/PublishEdit/Controller/PublishEditController.swift

@@ -308,7 +308,7 @@ extension PublishEditController {
         
         NotificationCenter.default.post(name: NSNotification.Name(rawValue: "DismissFromPublishEditVc"), object: aliyunVodUpToYoPublishModel)
         BaseTabbarViewController.shared.esTabBarController.selectedIndex = 0
-        self.dismissToWindowRootViewController(animated: false, completion: nil)
+        self.dismissToWindowRootViewController(animated: false) {}
 
 
     }

+ 1 - 1
RainbowPlanet/RainbowPlanet/Supporting Files/Info.plist

@@ -87,7 +87,7 @@
 		</dict>
 	</array>
 	<key>CFBundleVersion</key>
-	<string>1</string>
+	<string>2</string>
 	<key>LSApplicationQueriesSchemes</key>
 	<array>
 		<string>wechat</string>