Skip to content

Thanatos-L/LyEditImageView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages