TOCropViewController is an open-source UIViewController subclass to crop out sections of UIImage objects, as well as perform basic rotations. It is excellent for things like editing profile pictures, or sharing parts of a photo online. It has been designed with the iOS Photos app editor in mind, and as such, behaves in a way that should already feel familiar to users of iOS. For Swift developers, CropViewController is a Swift wrapper that completely encapsulates TOCropViewController and provides a much more native, Swiftier interface. The choice of having the controller return the cropped image to a delegate, or immediately pass it to a UIActivityViewController. A custom animation and layout when the device is rotated to landscape mode. Custom 'opening' and 'dismissal' animations. Localized in 28 languages.

Features

  • Crop images by dragging the edges of a grid overlay
  • Optionally, crop circular copies of images
  • Rotate images in 90-degree segments
  • Clamp the crop box to a specific aspect ratio
  • A reset button to completely undo all changes
  • iOS 7/8 translucency to make it easier to view the cropped region

Project Samples

Project Activity

See All Activity >

Categories

Design

License

MIT License

Follow TOCropViewController

TOCropViewController Web Site

Other Useful Business Software
Build Securely on Azure with Proven Frameworks Icon
Build Securely on Azure with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of TOCropViewController!

Additional Project Details

Operating Systems

Apple iPhone

Programming Language

Objective C

Related Categories

Objective C Design Software

Registered

2022-02-08