aut

AutomaticStatusBarColor

A zero line component to manage status bar color automaticly throughout your application

Showing:

Popularity

Downloads/wk

0

GitHub Stars

41

Maintenance

Last Commit

3yrs ago

Contributors

2

Package

Dependencies

0

License

MIT

Categories

Readme

AutomaticStatusBarColor

CI Status Version License Platform

Description

AutomaticStatusBarColor is a lightweight zero line component to manage status bar color automaticly throughout your application

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

AutomaticStatusBarColor is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'AutomaticStatusBarColor'

Lastest Swift 4 version

2.0.0

Lastest Swift 3 version

1.0.1

Usage

First step

Add the following line to your info.plist : View controller-based status bar appearance, and select the value NO

Basic usage

AutomaticStatusBarColor is designed to work thru all your application with a single line of code.

You should add this line in your app delegate :

_ = AutomaticStatusBarColor.sharedInstance

But, if you want some control, you can access AutomaticStatusBarColor methods configuration thru UIViewController extension

Basic usage (Swift 3)

AutomaticStatusBarColor is designed to work thru all your application without a single line of code.

But, if you want some control, you can access AutomaticStatusBarColor methods configuration thru UIViewController extension

Disable for one controller

Just hit the method disableAutomaticStatusBarColor

disableAutomaticStatusBarColor()

Choose manually status bar color

You can choose status bar color for one controller if you don't like the result or wanna keep the hand over it.

force(statusBarStyle: .lightContent)

If you've planned to use a navigation bar, take care to hide or show it before the super.viewWillAppear(:)

Author

Victor Carmouze, victor.carmouze@gmail.com

License

AutomaticStatusBarColor is available under the MIT license. See the LICENSE file for more info.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100