TOCropViewController Versions Save

A view controller for iOS that allows users to crop portions of UIImage objects

2.7.3

6 days ago

Fixed

  • An invalid configuration in the privacy manifest. (#576)
  • Removed deprecated Core Graphics render APIs. (#578)

2.7.2

2 weeks ago

Added

  • Initial support for visionOS. (#572)

Fixed

  • A crash when tapping the aspect ratio button. (#573)

2.7.1

2 weeks ago

Enhancements

  • Added better support for Swift Concurrency. (#563)

2.7.0

2 weeks ago

Added

  • Set minimum version to iOS 11. (#571)
  • A PrivacyInfo.xcprivacy file to the resource bundle in order to be compliant with Apple's new privacy requirements. (#569)
  • A new aspect ratio setting of 16:6. (#557)
  • Ukranian localization. (#529)

Enchancements

  • Updated project for Xcode 15. (#571)
  • Exposed reverseContentLayout as an external property. (#568)
  • Exposed cropView as an external property. (#532)
  • Added a way to revert back to the original aspect ratio after selecting a custom ratio from the list. (#543)

Fixed

  • A deprecation warning when trying to detect the current device's idiom. ((#543)
  • Added in a variety of properties that were available in TOCropViewController but not CropViewController. ((#541)

2.6.1

2 years 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)

2.6.0

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)

2.5.5

3 years ago

Fixed

  • Duplicate header build warnings when installing via CocoaPods. (#432)

2.5.4

3 years ago

Fixed

  • Various fixes and improvements to SPM support. (#417 #422)

2.5.3

3 years ago

Added

  • SPM Support. (#413)
  • The ability to explicitly show and hide the 'Cancel' and 'Done' buttons in the toolbar. (#392)

Fixed

  • A memory crash caused by improper self usage in delegates between multiple instances of the Swift crop view controller. (#409)

2.5.2

4 years ago

Added

  • Brazilian Portuguese Language Support (#380)

Fixed

  • A visual glitch that would occur in iOS 13 because the Swift view controller wasn't explicitly marked as full screen. (#385)
  • A visual glitch where the image would snap upwards during the presentation animation on non-Face ID devices. (#387)
  • A bug where subclassing the class in Swift would fail because it wasn't using the desginated initializer. (#379)