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
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New to Google Cloud? Get $300 in credits to explore Compute Engine, BigQuery, Cloud Run, Gemini Enterprise Agent Platform, and more.

Start your next project with $300 in free Google Cloud credit. Spin up VMs, run containers, query petabytes in BigQuery, or build agents with Gemini Enterprise Agent Platform. Once your credits are used, keep building with 20+ always-free tier products including Compute Engine, Cloud Storage, GKE, and Cloud Run functions. No commitment required—just sign up and start building.
Claim $300 Free
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