Skip to content

Latest commit

 

History

History
49 lines (28 loc) · 1.57 KB

README.md

File metadata and controls

49 lines (28 loc) · 1.57 KB

PNImagePickerViewController

[![CI Status](http://img.shields.io/travis/Giuseppe Nucifora/PNImagePickerViewController.svg?style=flat)](https://travis-ci.org/Giuseppe Nucifora/PNImagePickerViewController) Version License Platform

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

PNImagePickerViewController is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "PNImagePickerViewController"
#import <PNImagePickerViewController/PNImagePickerViewController.h>

PNImagePickerViewController *imagePicker = [[PNImagePickerViewController alloc] init];
imagePicker.delegate = self;
[imagePicker showImagePickerInController:self animated:YES];


#pragma mark - PNImagePickerViewControllerDelegate

- (void)imagePicker:(PNImagePickerViewController *)imagePicker didSelectImage:(UIImage *)image {
    self.imageView.image = image;
}

Author

Giuseppe Nucifora, [email protected]

License

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