ABMediaView v0.3.1 Release Notes

Release Date: 2017-02-18 // about 7 years ago
  • Released : 2/18/17

    โž• Added :

    • Set the value 'isDismissable' on an ABMediaView and it will add functionality to swipe down to dismiss a view instead of minimize it. This value supersedes 'isMinimizable' for the view, and can be utilized for content like images and GIFs, which don't necessarily need the minimizing functionality the same way that videos and audio do.
    • ๐Ÿšš 'resetMediaInView' which removes media from view while maintaining settings in view. ('resetVariables' removes both).
    • 'customMusicButton' which specifies a custom play button to audio.
    • โž• Add delegate method 'mediaView:didSetImage:' to listen for when the 'image' property is set on the mediaView.
    • โž• Added option 'fileFromDirectory'. If set to true, then the file URL will be sourced from the Documents Directory when playing in the player.

    ๐Ÿ›  Fixed :

    • Issue where isMinimizable was always set to true. Changed the function 'setCanMinimize' to 'setIsMinimizable', in order to avoid confusion with just setting the 'isMinimizable' value before and not getting the functionality.
    • Issue where ABMediaView was not presenting from converted originRect in dynamic views. Using 'originRect' and 'setPresentFromOriginRect:' now works.
    • Issue where audioURL and audioCache was not reset when 'resetVariables' is called.
    • Calling 'setImageURL' now has the same effect as 'setImageURL:withCompletion' with nil completion.
    • Made sure that 'image' property is being transferred to mediaView being presented from mediaView that is presenting.

    โœ‚ Removed :

    • โœ‚ Removed the custom volumeView that replaced MPVolumeView. If the functionality is desired, check out the ABVolumeControl library, which provides the same functionality with much more customization.