eVolumeBar replaces the default iOS volume HUD with a less distractive and more user-friendly view.
Add the eVolumeBar.swift source file to your xcode project and add the eVolumeBar view to your existing views. ( look at exmaples below or check the smaple project )
code:
var volume = eVolumeBar()
view.addSubview(volume)
code:
var volume = eVolumeBar().withVolumeIconColor(.orange)
view.addSubview(volume)
code:
var volume = eVolumeBar().withTint(.cyan)
view.addSubview(volume)
code:
default volume icon size in 20x20
var volume = eVolumeBar(withImageName: "space")
view.addSubview(volume)
code:
var volume = eVolumeBar(withImages: ["mute","min","max"], forVolumes: [0.0,0.5,1.0])
view.addSubview(volume)
Eyad Murshid, eam.east@gmail.com
eVolumeBar is free software, and may be redistributed under the terms specified in the LICENSE file.