状态栏背景颜色设置
- (void)viewWillAppear:(BOOL)animated { [super viewWillAppear:animated]; UIView *statusBar = [[[UIApplication sharedApplication] valueForKey:@"statusBarWindow"] valueForKey:@"statusBar"]; if ([statusBar respondsToSelector:@selector(setBackgroundColor:)]) { statusBar.backgroundColor = [UIColor colorWithHexString:@"1a1a1a" alpha:0.4]; } self.navigationController.navigationBarHidden = YES; }
 
                    
                     
                    
                 
                    
                
 
 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号