zen4ever / GKImagePicker

Enables a custom crop rect for UIImagePickerController

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GKImagePicker

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.

About

Enables a custom crop rect for UIImagePickerController

License:MIT License


Languages

Language:Objective-C 98.4%Language:Ruby 1.6%