- Customizing layout and colors
- XCode 7
- iOS 7.1 or higher
- ARC
import "YHVolumeViewController.h"
- (void)viewDidAppear:(BOOL)animated
{
if (self.yhVolumeViewController == nil)
{
self.yhVolumeViewController = [[YHVolumeViewController alloc] init];
[self.videoPlayContainer addSubview:self.yhVolumeViewController.view];
}
}
- (void)viewDidAppear:(BOOL)animated
{
if (self.yhVolumeViewController == nil)
{
self.yhVolumeViewController = [[YHVolumeViewController alloc] initWithFrame:CGRectMake(0.0f, 0.0f, 414, 30.0f)];
self.yhVolumeViewController.vCellSpace = 3.0f;
self.yhVolumeViewController.hCellSpace = 3.0f;
self.yhVolumeViewController.indicatorColor = [UIColor yellowColor];
[self.videoPlayContainer addSubview:self.yhVolumeViewController.view];
}
}
If you find bug or have good idea, please pull reqeust me : [email protected]
YHViewController is available under the MIT license. See the LICENSE file for more info.