Git Product home page Git Product logo

brightnessvolumeview's Introduction

代码示例

	
// 使用方法一 xib使用 拖一个UIView修改继承类为BrightnessVolumeView就可以了
    
// 使用方法二 全代码使用
BrightnessVolumeView *brightnessVolumeView = [[BrightnessVolumeView alloc] initWithFrame:self.view.bounds];
[self.view addSubview:brightnessVolumeView];

图片示例:

uiwebview-menu-1 uiwebview-menu-1

完整代码下载

原理说明

http://blog.zlcode.com/2017/04/19/ios-brightnessvolumeview/

brightnessvolumeview's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

dqy168888

brightnessvolumeview's Issues

不太明白“不可以用代码修改”这句话

1 MPVolumeView
说明
用这种方式修改会在指定区域生成一个音量条,它会保持与系统音量实时同步,但不可以用代码修改,只能由用户手动拖动音量条控制

这句话不太明白,如果说不能用代码修改,那为什么你确实是可以修改呢?虽然是通过手势,但是实际上也是用代码修改的,为什么可以呢?我自己用代码修改也是不可以的

音量调节有个bug

我第一次打开应用首次调节音量,音量会变到第一格音量,后面就不会出现,每次打开app第一次调节音量都会

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.