SubtleVolume is a Swift iOS library that replaces the standard system volume popup with a smaller, less intrusive indicator. It activates the required audio session and embeds an MPVolumeView so hardware volume-button changes can be reflected without showing the default overlay. Developers can position the indicator anywhere in their interface and customize its tint and presentation style. The library supports animated or permanently visible volume indicators. Applications can also change volume programmatically through direct, increase, and decrease methods. An optional accessory image can be displayed beside the volume bar. Delegate callbacks allow the surrounding interface to react when the volume begins or finishes changing.
Features
- Custom replacement for the iOS volume popup
- Hardware volume button tracking
- Configurable bar position and tint
- Animated volume indicator styles
- Programmatic volume adjustment
- Accessory images and delegate callbacks