Mantis
Mantis is a swift 5.0 library that mimics most interactions in the Photos.app on an iOS device. You can use the CropViewController of Mantis with default buttons, or you can add your own buttons under the "customized" mode.
Requirements
- iOS 11.0+
- Xcode 10.0+
Install
CocoaPods
Usage
- Create a cropViewController in Mantis with default config and default mode
- The caller needs to conform CropViewControllerProtocal
-
CropViewController has two modes:
- normal mode
In normal mode, you can use a set of standard CropViewController photo editing features.
- customizable mode
This mode includes the standard cropping feature, while enabling users to customize other edit features.
- Add your own ratio