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
Auth0 for AI Agents now in GA Icon
Auth0 for AI Agents now in GA

Ready to implement AI with confidence (without sacrificing security)?

Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
Start building today
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