瀏覽代碼

1.状态栏颜色修改

huangxiaodong 2 年之前
父節點
當前提交
4679d21f2a

+ 2 - 2
创维盒子/双子星云手机.xcodeproj/project.pbxproj

@@ -2134,7 +2134,7 @@
 				INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "Private-X需求获取您的相册图片。";
 				INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
 				INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
-				INFOPLIST_KEY_UIStatusBarStyle = UIStatusBarStyleLightContent;
+				INFOPLIST_KEY_UIStatusBarStyle = UIStatusBarStyleDefault;
 				INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
 				INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = UIInterfaceOrientationPortrait;
 				INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
@@ -2213,7 +2213,7 @@
 				INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "Private-X需求获取您的相册图片。";
 				INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
 				INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
-				INFOPLIST_KEY_UIStatusBarStyle = UIStatusBarStyleLightContent;
+				INFOPLIST_KEY_UIStatusBarStyle = UIStatusBarStyleDefault;
 				INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
 				INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = UIInterfaceOrientationPortrait;
 				INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";

+ 3 - 3
创维盒子/双子星云手机/Base/Controller/BaseViewController.m

@@ -42,9 +42,9 @@
     
 }
 
-- (UIStatusBarStyle)preferredStatusBarStyle {
-    return UIStatusBarStyleDefault;
-}
+//- (UIStatusBarStyle)preferredStatusBarStyle {
+//    return UIStatusBarStyleDefault;
+//}
 
 #pragma mark UI布局
 - (void)drawBaseView {

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

@@ -276,7 +276,6 @@ ComontAlretViewControllerDelegate>
     AppDelegate *app = (AppDelegate *)[UIApplication sharedApplication].delegate;
 //    app.allowAutoRotate = NO;
     
-    self.navigationController.navigationBar.barStyle = UIBarStyleDefault;
     [super viewWillDisappear:animated];
     
     [self setShowImgAndVoiceTypeFun:NO];
@@ -347,7 +346,6 @@ ComontAlretViewControllerDelegate>
 //    app.allowAutoRotate = YES;
     
     [[UIApplication sharedApplication] setStatusBarHidden:YES];
-    self.navigationController.navigationBar.barStyle = UIBarStyleBlack;
     
     [self noEnablePanRightBack];