Simple little audio player component.
How to use:
Just put UIView in your xib or storyboard and change class name on "MiniPlayer"
Set soundTrack property for using
Use @IBInspectable properties to customise (see example directory)
For rule programmatically use :
func play() func pause() func stop()
func didPlay(player: MiniPlayer) func didStop(player: MiniPlayer) func didPause(player: MiniPlayer)
To run the example project, clone the repo, and run
pod install from the Example directory first.
Swift 5.0; >=iOS10.3
MiniPlayer is available through CocoaPods. To install
it, simply add the following line to your Podfile:
Vitaly Seroshatnov, [email protected]
Subscribe to iOS Example
Get the latest posts delivered right to your inbox