Skip to content
This repository has been archived by the owner on Nov 18, 2017. It is now read-only.

andris-zalitis/GKImagePicker

 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 98.5%
  • Ruby 1.5%