Ver Fonte

1.修改status

wenweiwei há 4 anos atrás
pai
commit
15a633c8ca

+ 2 - 2
MusicVideoPlus/MusicVideoPlus.xcodeproj/project.pbxproj

@@ -457,7 +457,7 @@
 				418532292665342100DCA2C1 /* Frameworks */,
 				4185322A2665342100DCA2C1 /* Resources */,
 				3115904EEDD5A7932018A62B /* [CP] Embed Pods Frameworks */,
-				E7DB0495DA4566631DCED732 /* [CP] Copy Pods Resources */,
+				7EA76EEB18443B8F15F6D8BC /* [CP] Copy Pods Resources */,
 			);
 			buildRules = (
 			);
@@ -555,7 +555,7 @@
 			shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-MusicVideoPlus/Pods-MusicVideoPlus-frameworks.sh\"\n";
 			showEnvVarsInLog = 0;
 		};
-		E7DB0495DA4566631DCED732 /* [CP] Copy Pods Resources */ = {
+		7EA76EEB18443B8F15F6D8BC /* [CP] Copy Pods Resources */ = {
 			isa = PBXShellScriptBuildPhase;
 			buildActionMask = 2147483647;
 			files = (

+ 6 - 1
MusicVideoPlus/MusicVideoPlus/Classes/Modules/Base/Controllers/MVBaseController.swift

@@ -141,7 +141,12 @@ public class MVBaseController: UIViewController, UIGestureRecognizerDelegate {
     }
 
     public override var preferredStatusBarStyle: UIStatusBarStyle {
-        return .lightContent
+        if #available(iOS 13.0, *) {
+            return .darkContent
+        } else {
+            // Fallback on earlier versions
+            return .default
+        }
     }
 
     public override var prefersStatusBarHidden: Bool {

+ 1 - 1
MusicVideoPlus/MusicVideoPlus/Info.plist

@@ -57,7 +57,7 @@
 		<string>armv7</string>
 	</array>
 	<key>UIStatusBarStyle</key>
-	<string>UIStatusBarStyleLightContent</string>
+	<string>UIStatusBarStyleDarkContent</string>
 	<key>UISupportedInterfaceOrientations</key>
 	<array>
 		<string>UIInterfaceOrientationPortrait</string>

+ 1 - 1
MusicVideoPlus/Podfile

@@ -4,7 +4,7 @@ target 'MusicVideoPlus' do
   # Comment the next line if you don't want to use dynamic frameworks
   use_frameworks!
   source 'https://github.com/CocoaPods/Specs.git'
- pod "BFFramework" ,:git => 'https://git.yishihui.com/iOS/BFFramework.git'
+  pod "BFFramework" ,:git => 'https://git.yishihui.com/iOS/BFFramework.git'
   # 使用本地路径
  # pod 'BFFramework', :path => '/Users/ak/Desktop/BFFramework/'