UXMVolumeOverlay
A drop in replacement for the annoying iOS volume overlay; inspired by Instagram & Snapchat.
Screenshots
Requirements
- iOS 8 or above
- Xcode 7 or above
- Swift 2.1
Installation
UXMVolumeOverlay is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "UXMVolumeOverlay"
Usage
Using the volume overlay is just drag and drop. Simply call:
UXMVolumeOverlay.sharedOverlay.load()
Interface
func show()
func hide()
var backgroundColor:UIColor
var trackColor:UIColor
Demo Project
To run the example project, clone the repo with git clone https://github.com/uxmstudio/UXMVolumeOverlay.git
, and run pod install
from the Example directory first.
Note
This will not get rid of the ringer dialog, only the volume dialog.
Author
Chris Anderson:
License
UXMVolumeOverlay is available under the MIT license. See the LICENSE file for more info.