CCVolumeHUD
changes the default volume HUD for a unobtrusive volume HUD displayed in the status bar.
- Add
pod 'CCVolumeHUD'
to your Podfile - Run
pod install
- Drag the
CCVolumeHUD
folder into your project - Link the
AVFoundation
,MediaPlayer
, andQuartzCore
frameworks to your project
- Add
import CCVolumeHUD
in yourAppDelegate
import statements - On
application:didFinishLaunchingWithOptions:
function, at some point addCCVolumeHUD.sharedInstance
- Personalize the volume slider appearance by editing the properties of the
MPVolumeView
named asCCVolumeHUD.sharedInstance.volumeView
. For example:CCVolumeHUD.sharedInstance.volumeView.tintColor = UIColor.redColor()
This project is under the MIT license (see the LICENSE file for more details).