Latest 1.0.1
License MIT
Platforms ios 7.0, requires ARC
Frameworks UIKit, AVFoundation, MediaPlayer, Foundation



Getting Started

Using CocoaPods

1.Add the pod WYLVolumeManager to your Podfile.

pod 'WYLVolumeManager', '~> 1.0.1'

2.Run pod install from Terminal, then open your app’s .xcworkspace file to launch Xcode.

3.#import WYLVolumeManager.h wherever you want to use the API.

Manually from GitHub

1.Download the WYLVolumeManager.h and WYLVolumeManager.m files in th Source directory

2.Add both files to your Xcode project.

3.#import WYLVolumeManager.h wherever you want to use the API.

Example Usage

Example location

Check out the example project included in the repository. It contains a few demos of the API in use for various scenarios.


no.1 Included WYLVolumeManager.h in your project

no.2 configure WYLVolumeManager like this.

manager = [[WYLVolumeManager alloc]init];
manager.delegate = self;
[manager configureVolumeManagerWithParentView:self.view hiddenDeviceVolumeView:YES]; 

no.3 Overlay system "touchBegin","touchesMoved","touchesEnd" method like this

- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{

[manager touchBegin:event withTouchView:self.view];


- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event{

WYLVolumeSlider *slider1 = (WYLVolumeSlider *)[self.view viewWithTag:1000];

__weak __block WYLVolumeManager *_manager = manager;

[_manager touchMove:event withTouchView:self.view withTouchBlock:^(float num) {
    slider1.value += num;
    _manager.volume.value = slider1.value;


- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event{
[manager touchEnd];

no.4 Delegate method like this

- (void)systemVolumeDidChange:(CGFloat)value{

WYLVolumeSlider *slider1 = (WYLVolumeSlider *)[self.view viewWithTag:1000];
slider1.value = value;




Latest podspec

    "name": "WYLVolumeManager",
    "version": "1.0.1",
    "summary": "Help developers custom iPhone Volume View",
    "description": "Help developers custom iPhone Volume View. [email protected]",
    "homepage": "",
    "license": "MIT",
    "authors": {
        "u738bu989cu9f99": "[email protected]"
    "source": {
        "git": "",
        "tag": "1.0.1"
    "platforms": {
        "ios": "7.0"
    "requires_arc": true,
    "source_files": "WYLVolumeManagerFile/*.{h,m}",
    "frameworks": [

Pin It on Pinterest

Share This