TOCropViewController Versions Save

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

2.5.1

4 years ago

Added

  • Finnish Language Support (#360)

Enhancements

  • Improved the UX of the cancellation dialog by changing the buttons from affirmative actions to explicit actions. (#362)

Fixed

  • A crash that would occur if the cancellation confirmation dialog was attempted to be displayed on iPad. (#362)

2.5.0

5 years ago

Added

  • Swift 5.0 Support (#343)
  • Persian Language Support (#337)
  • Added customAspectRatioName property to expose the custom aspect ratio as a selectable choice (#344)

Fixed

  • Made delegate in CropViewController weak. (#338)

2.4.0

5 years ago

Added

  • Swift 4.2 Support
  • Romanian and Hungarian localizations
  • The ability to show only certain aspect ratios
  • A setting to allow confirmation before cancelling a crop

Fixed

  • Fixed layout issue on the new iPad Pro
  • Fixed issues with the aspect ratio settings when zooming out
  • Fixed an issue when rotating images would sometimes break
  • A bug where the completion handler of the cropping operation wouldn't fire

Removed

  • iOS 7 Support

2.3.7

5 years ago

Added

  • minimumAspectRatio to set a minimum shape that the cropping box can be scaled to.
  • cropViewPadding to specifically control how much padding from the edge the crop box gives.
  • cropAdjustingDelay to specifically control how long the timer waits until animating the crop transition.
  • aspectRatioLockDimensionSwapEnabled as a stopgap to locking the aspect ratio when rotating the image.

Fixed

  • More thorough sanitation of the final frame calculation.
  • A bug where sometimes the square aspect ratio would stop being square.
  • A memory cycle leak in the Swift wrapper.
  • A broken animation when rotating the device orientation 180 degrees.
  • A broken animation if you hit 'reset' right after resizing the crop box.
  • Danish and Malaysian localisations weren't being imported properly.

2.2

6 years ago

Added

  • Support for iPhone X.

Changed

  • Fixed missing semicolons in iOS 7 code brace.
  • Fixed minor issue with certain nullable properties being marked as nonnull.
  • Made the clockwise rotation button visible by default.

Fixed

  • Broken rotation animations in iOS 11.
  • Incorrect inset of crop content when status bar is visible.
  • General cleanup of the codebase

2.1.0

6 years ago

2.1.0 - 2017-09-07

Added

  • Added a CHANGELOG. (Yay!)
  • TOCropViewController.title property will display a title label above the crop view box.
  • Added more thorough checks to ensure both all delegate and completion block handlers execute in the right order.

Changed

  • Fixed scroll view insets to work properly with new iOS 11 assumptions.
  • Fixed crop box frame resizing to properly clamp when it touches an outer boundary.