Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.18 KB

README.md

File metadata and controls

42 lines (29 loc) · 1.18 KB

VolumeOverlay Carthage compatible Travis

VolumeOverlay: Drop-in Replacement Volume Overlay for iOS

Installation

Carthage

You can install Carthage with Homebrew using the following command:

brew update
brew install carthage

To integrate VolumeOverlay into your Xcode project using Carthage, specify it in your Cartfile where "x.x.x" is the current release:

github "russellbstephens/VolumeOverlay" "x.x.x"

Usage

Add the following in didFinishLaunchingWithOptions in the AppDelegate

VolumeOverlay.shared.load()

Customization

Colors

VolumeOverlay.shared.backgroundColor = .white
VolumeOverlay.shared.trackTintColor = .grey
VolumeOverlay.shared.progressTintColor = .black

Style

VolumeOverlay.shared.load(style: .thin)