TOCropViewController v2.6.1 Release Notes

Release Date: 2022-01-23 // about 1 year 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)