Skip to content

Latest commit

 

History

History
29 lines (15 loc) · 1.15 KB

README.md

File metadata and controls

29 lines (15 loc) · 1.15 KB

GKImagePicker

This fork is a minor update to @pixelshipper's fork of GKImagePicker. It corrects an issue with iPhone 6 devices, and allows the developer to set ratio limits on the resizable crop size.

Original description:

A fork of GKImagePicker by @gekitz, taking off in a slightly different tangent. Notable changes to it are:

  • Utilizes an image cropper similar to Apple's own iOS 7 redesign
  • Uses the available space of the screen as much as possible regardless of the size of the image being cropped. Also ensures that large crop sizes are scaled to still fit in the screen.

How to use it

  • Follow the instructions found here.

Sample Code

self.imagePicker = [[GKImagePicker alloc] init];
self.imagePicker.cropSize = CGSizeMake(320, 496);
self.imagePicker.delegate = self;

[self.imagePicker showActionSheetOnViewController:self onPopoverFromView:btn];

License

Under MIT. See license file for details.