TOCropViewController v2.6.0 Release Notes

Release Date: 2020-12-30 // over 3 years ago
  • โž• Added

    • ๐Ÿ‘ Extremely basic support for Mac Catalyst, with an accompanying sample app. (#464)
    • Switched to using system SF Symbol icons on iOS 13.0 and up. (#455)
    • doneButtonColor and cancelButtonColor properties to control the color of the main call-to-action buttons in the toolbar. (#436)
    • showOnlyIcons property to disable showing the "Cancel" and "Done" text labels. (#438)
    • commitCurrentCrop() method to programmatically simulate tapping the 'Done' button. (#441)
    • โž• Added Catalan localization. (#449)

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed an issue where visible snapping would occur during the presentation animation on iPad models with rounded corners. (#461)
    • ๐Ÿ‘Œ Improved logic for detecting whether the controller needs to be popped or dismissed from its current presentation context. (#443)
    • ๐Ÿ›  Fixed a CocoaPods installation issue where warnings would be displayed about importing the header references needed for SPM support. (#445)
    • โž• Added provisions for later versions of SPM no longer supporting iOS 8. (#448)
    • โž• Added allowedAspectRatios property to Swift layer. (#453)

    โœจ Enhancements

    • โž• Added back in resource support for SPM on Xcode 12. (#466)
    • ๐Ÿ›  Fixed a potential performance slow-down by replacing a custom mask, with standard CALAyer rounded corners for circular crops. (#462)
    • Rewrote how rotated regions of an image are extracted to not rely on Core Animation hackery. (#463)