Skip to content

12Rockets/VolumeControl

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

#VolumeControl

VolumeControl is a custom volume control for iPhone featuring a well-designed round slider.

Preview

Usage

// Include VolumeControl.h into your ViewController.
// Don’t forget to set your delegate:
@interface ViewController () <VolumeControlDelegate>



@property (nonatomic, strong)VolumeControl *control; 



self.control = [[VolumeControl alloc] initWithCenter:CGPointMake(screen.size.width, screen.size.height)

                                              withRadius:screen.size.width*0.50

                                              withVolume:self.volume/100

                                   withVolumeControlDelegate:self];

[self.myView addSubview: control]; 



// VolumeControl animates from the bottom-right corner of the screen thus it will need either the UIButton or UIView to show the controller.

- (IBAction)onVolumeButton:(id)sender {

[self.control setHidden:NO];

}

##Credit Designed and developed by 12Rockets.

###Development

###Design


##Feedback Send us your feedback at hello@12rockets.com or hit us up on Twitter.

License

This projected is licensed under the terms of the MIT License (MIT) License. See LICENSE.txt for more details.

About

VolumeControl is a custom volume control for iPhone featuring a well-designed round slider.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published