Socket
Book a DemoInstallSign in
Socket

cordova-gizwits-statusbar-manager

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-gizwits-statusbar-manager

Gizwits StatusBar Manager Cordova Plugin

latest
npmnpm
Version
1.1.3
Version published
Maintainers
1
Created
Source

Status Bar Manager 状态栏管理器

iOS插件使用注意事项:

  • 使用该插件管理 status bar 的 ViewController 不能重写以下方法,否则本插件将不起作用:

    - (BOOL)prefersStatusBarHidden;
    - (UIStatusBarStyle)preferredStatusBarStyle;
    
  • Info.plist 中不要设置 UIViewControllerBasedStatusBarAppearance 的值,或将该字段的值设置为 YES

  • 若 VC 由 NavigationController 管理,需要重写 NavigationController 以下方法:

    - (UIViewController *)childViewControllerForStatusBarStyle {
    	return self.visibleViewController;
    }
    

    hide和show的方法需要在Info.plist 中添加 Status bar is initially hidden一行,选择值为 NO, 和 View controller-based status bar appearance 一行,选择值为 NO。 不然无效

Keywords

gizwits

FAQs

Package last updated on 08 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts