Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 837 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 837 Bytes

LyEditImageView

An view for zoom, pan, rotate and crop image built by swift in single file.

Preview

Pan Crop View Zoom, Rotate and Crop Image

Quick Start

To add a LyEditImageView in your viewController:

let editView = LyEditImageView(frame: frame)
let image = yourimage
editView.initWithImage(image: yourimage)
self.yourview.addSubview(editView)

Then get the cropped image:

let croppedImage = editView.getCroppedImage()

For Who can speak Mandarin

iOS - 图片的平移,缩放,旋转和裁剪

License

LyEditImageView is released under the MIT License.