We’re happy to introduce you a new free regulator AGVolumeControlView based on our lightweight open-source visual component that doesn't require extra lines of code and can be easily integrated into your project. Visual regulator can be connected to a player or other smart house’s device making the process of controlling the level of a particular characteristic much easier.
Check out our Android VolumeControlView
AGVolumeControlView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "AGVolumeControlView"
To run the example project, clone the repo, and run pod install
from the Example directory first.
You can also see an example :
Just bind AGVolumeControl as outlet to your ViewController:
@IBOutlet weak var volumeControl: AGVolumeControl!
And start playing your control. AGVolumeControl is a regulator of any controllable parameter, such as the volume, brightness, speed, etc.
self.startPlay()
The visual display of this regulator can be easily customized. One has a possibility to choose colors, the gradient style and background according to the wishes:
open var thumbRadius: CGFloat
open var customBackgroundColor : UIColor
open var volumeControlSliderColor : UIColor
open var decibelsLevel : CGFloat
open var hueStart : CGFloat
open var hueEnd : CGFloat
open var minimumValue: CGFloat
open var maximumValue: CGFloat
open var thumbColor: UIColor
open var gradientMaskColor: UIColor
Problems? Check the Issues block to find the solution or create an new issue that we will fix asap. Feel free to contribute.
This iOS visual component is open-sourced by Agilie Team info@agilie.com
If you have any questions, suggestions or just need a help with web or mobile development, please email us at ios@agilie.com. You can ask us anything from basic to complex questions.
AGVolumeControlView is available under The MIT License (MIT) Copyright © 2017 Agilie Team