andreamazz/SubtleVolume is a open-source project on GitHub, written primarily in Swift. It has 1.2k stars. Replace the system volume popup with a more subtle indicator.
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
Replace the volume popup with a more subtle way to display the volume when the user changes it with the volume rocker.
Why and how
The iOS default popover showing the volume status that appears when the user clicks the volume rocker is a big obtrusive glossy view that covers the content shown. This library offers a way to show a more subtle indicator.
To make sure that the popover is not shown there are two conditions that need to be satisfied:
An AVAudioSession needs to be active
An MPVolumeView needs to be in the current view's hierarchy, and its alpha needs to be greater than 0
Once a SubtleVolume is added to your view, an audio session is automatically started, and the view's alpha is set to 0.0001 in the hidden state.
Getting Started
Create an instance of SubtleVolume with one of its convenience initializers, and set its position (you can either set the frame or let autolayout handle it):
let volume = SubtleVolume(style: .plain)
volume.frame = CGRect(x: 0, y: 10, width: UIScreen.main.bounds.width, height: 4) // or wherever you like
Set the barTintColor property:
volume.barTintColor = .red
Set the animation type if needed (no animation will result in the indicator being always visible):
SubtleVolume automatically removes the observer on deinit.
Hire us
Written by Andrea Mazzini. We're available for freelance work, feel free to contact us here.
Want to support the development of these free libraries? Buy me a coffee ☕️ via Paypal.
MIT License
Copyright (c) 2017-2018 Andrea Mazzini. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Does andreamazz/SubtleVolume have a project website?
No homepage URL was recorded for andreamazz/SubtleVolume in TopGit's last sync. The README tab above frequently contains screenshots and demo links, or check the repository description on GitHub.
Does andreamazz/SubtleVolume have any tags?
TopGit's last sync did not record any GitHub topics for andreamazz/SubtleVolume. GitHub topics appear in the right sidebar of a repository page; that's the authoritative place to check.
How active is development on andreamazz/SubtleVolume?
The most recent commit recorded on andreamazz/SubtleVolume was 6.4 years ago, based on the GitHub push timestamp. The repository has 63 forks — one of the better signals of community interest.
Is andreamazz/SubtleVolume open source?
Yes — andreamazz/SubtleVolume ships under the MIT license, which makes its source code freely readable (and, depending on license terms, forkable and reusable). Source: github.com/andreamazz/SubtleVolume.
What license does andreamazz/SubtleVolume use?
andreamazz/SubtleVolume is released under the MIT license. Always verify the LICENSE file directly on GitHub for the authoritative terms — license strings can be edited out of sync with a project's actual stance.
Where do I read more about andreamazz/SubtleVolume?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/andreamazz/SubtleVolume is the definitive source.
Read full README in the tab above.
Curious whether SubtleVolume is right for you?
Let ChatGPT, Claude, or Perplexity look into it — click below and see what AI actually says about SubtleVolume.