All Projects → lacklock → ZHStatusVolume

lacklock / ZHStatusVolume

Licence: MIT license
[iOS] hide system volume hud, display upon status bar

Programming Languages

objective c
16641 projects - #2 most used programming language
swift
15916 projects
ruby
36898 projects - #4 most used programming language

Labels

Projects that are alternatives of or similar to ZHStatusVolume

Docker Volume Bindfs
Docker volume plugin for bindfs
Stars: ✭ 37 (-24.49%)
Mutual labels:  volume
Slimhud
Replacement for MacOS' volume, brightness and keyboard backlight HUDs.
Stars: ✭ 122 (+148.98%)
Mutual labels:  volume
I3 Volume
Volume control and volume notifications
Stars: ✭ 196 (+300%)
Mutual labels:  volume
Kms Activator
Windows activation research project.
Stars: ✭ 1,001 (+1942.86%)
Mutual labels:  volume
Xamarin Plugins
Cross-platform Plugins for Xamarin, Xamarin.Forms and Windows
Stars: ✭ 97 (+97.96%)
Mutual labels:  volume
Ta
Technical Analysis Library using Pandas and Numpy
Stars: ✭ 2,649 (+5306.12%)
Mutual labels:  volume
Apfs Fuse
FUSE driver for APFS (Apple File System)
Stars: ✭ 929 (+1795.92%)
Mutual labels:  volume
Ncpamixer
ncurses PulseAudio Mixer
Stars: ✭ 234 (+377.55%)
Mutual labels:  volume
Docker Volume Ipfs
🐳 This is an open source volume plugin that allows using an ipfs filesystem as a volume.
Stars: ✭ 99 (+102.04%)
Mutual labels:  volume
Drone Cache
A Drone plugin for caching current workspace files between builds to reduce your build times
Stars: ✭ 194 (+295.92%)
Mutual labels:  volume
Ansible Manage Lvm
Stars: ✭ 55 (+12.24%)
Mutual labels:  volume
Pulseaudio Mixer Cli
Interactive python/ncurses UI to control volume of pulse streams
Stars: ✭ 86 (+75.51%)
Mutual labels:  volume
Docker S3 Volume
Docker container with a data volume from s3.
Stars: ✭ 166 (+238.78%)
Mutual labels:  volume
Gameboy Css
👾 Pure CSS GameBoy - Includes animations and the original sound 🔊
Stars: ✭ 39 (-20.41%)
Mutual labels:  volume
Volplugin
**EXPERIMENTAL** Contiv Storage: Policy backed Clustered Storage (via Ceph or NFS) for Docker
Stars: ✭ 217 (+342.86%)
Mutual labels:  volume
Volumebar9
A jailbreak tweak to change the stock volume HUD
Stars: ✭ 10 (-79.59%)
Mutual labels:  volume
Musicplayer
A minimal music player built on electron.
Stars: ✭ 145 (+195.92%)
Mutual labels:  volume
win-audio
Get, Set and Watch Speaker/Microphone Volume on Windows
Stars: ✭ 46 (-6.12%)
Mutual labels:  volume
Fuckingvolumeslider
android实现的反人类音量滑块
Stars: ✭ 234 (+377.55%)
Mutual labels:  volume
Maya
Manage Container Attached Storage (CAS) - Data Engines in Kubernetes
Stars: ✭ 169 (+244.9%)
Mutual labels:  volume

ZHStatusVolume

CocoaPods

Hide system volume hud, display upon status bar.Compatible with swift.

Usage

1.Setup

Use default volume view:

[ZHStatusVolumeManager register:nil];

//config volume view style
 ZHStatusVolumeManager.barBackgroundColor = [UIColor whiteColor];
 ZHStatusVolumeManager.indicatorTintColor = [UIColor darkGrayColor];

Custom volume view:

implement a UIView conform to protocol ZHVolumeView :

@protocol ZHVolumeView

- (void)setCurrentVolume:(float)volume;
- (void)volumeUpdated:(float)volume;

- (CGFloat)viewHeight;

@end

then register with custom view instance:

import ZHStatusVolume

let customeView = Bundle.main.loadNibNamed("CustomVolumeView", owner: nil, options: nil)?.first as! CustomVolumeView
ZHStatusVolumeManager.register(customeView)

2.Start it

// volume changed view will only display upon status bar
[ZHStatusVolumeManager addCustomVolumeView];

3.Stop

If you only need some pages hide system volume hud, you could call this method to back to standard way.

// back to standard way
[ZHStatusVolumeManager removeVolumeView];

Installation

CocoaPods:

pod 'ZHStatusVolume'

Beware

Get volume by using AVAudioSession, so during status volume work, codebase will set AVAudioSession active.

Todo

Support rotating screen.

微博

@没故事的卓同学

Thanks

JDStatusBarNotification

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].