This release contains breaking changes so read the changes carefully to see how you may be effected.
- 3x assets
- Added iPhone X/safe area layout support
- Added icons and loading screen to example project
- Added configuration
- Allows configuration of volume, interval to update progress bar and elapsed string, and accuracy for taps on progress to jump playback
- All
LSPAudioViewController
instances must be initialized with aLSPConfiguration
instance - A default configuration is available from
deafultConfiguration
inLSPConfigurationBuilder
or you can build your own - Player frame is now determined by
LSPAudioViewController
's frame
- Added
show
andhide:
toLSPAudioViewController
to toggle the default presentation animations - Added accessibility to interactive elements
- Accessibility elements are localized to English, localization strings available to be overridden by other languages
- Added scrubbing gesture to progress bar
- Added
jumpToProgress:
inLSPAudioViewController
to move playback to an exact progress point - Added
setVolume:
inLSPAudioPlayer
to set player volume during playback - More tests
- Removed iOS 8 support
- Removed static
sharedInstance
andplayer
references fromLSPAudioPlayer
- Removed
bottomConstraint
,observationInterval
,seekTolerance
,title
, andURL
properties fromLSPAudioViewController
- These were moved into configurations or completely removed as they were unnecessary
- Changed
audioViewController:didClosePlayer:
to be called after close animation is finished LSPAudioViewController
no longer overridesview
; instead, the player UI is located inplayerView
- Fixed timestamp not updating when playback paused but timeline tapped to change position
- Fixed timestamp displaying inaccurate times when starting or stopping playback
- Dropped iOS 7 support
- Updated Masonry to 1.1