TOCropViewController v2.6.1 Release Notes

Release Date: 2022-01-23 // 8 months ago
  • ๐Ÿ›  Fixed

    • โœ‚ Removed unneeded layout calculation. (#485)
    • Incorrect accessibility label for the 'Reset' button. (#487)
    • ๐Ÿ‘Œ Improved Japanese localization. (#502)
    • ๐Ÿ›  Fixed an API typo in the Swift interface. (#504)
    • ๐Ÿ›  Fixed incorrect comment formatting producing HTML errors. (#507)

Previous changes from v2.6.0

  • โž• 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)