QDImageCropper 0.0.3

QDImageCropper 0.0.3

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.



Installation

pod 'QDImageCropper', '~> 0.0.3'

How to use

QDImageCropper *cropper = [[QDImageCropper alloc] initWithImage:img
                                                   resultImageSize:CGSizeMake(100.0, 100.0)
                                                        completion:^(UIImage *image, CGRect rect, UIImage *croppedImage) {
                                                            //image — real image
                                                            //rect — real chosen image rect
                                                            //cropped image — cropped image (100x100)
                                                   }];
UINavigationController *navContr = [[UINavigationController alloc] initWithRootViewController:cropper];

[self presentViewController:navContr animated:YES completion:nil];

Info

You can set X-axis frame offset and overlay color by editing properties in QDImageCropper. iOS 6.0

Licence

QDImageCropper is available under the MIT license. See the LICENSE file for more info.