Need help installing ELCImagePickerController?

I was thrilled when I came across the ELCImagePickerController . Following the instructions on his website and github, it crashes when I try to show it. I copied the folder ELC Image Pickerinside my application and I changed the following in my .h:

#import "ELCImagePickerController.h" 
@interface DetailViewController : UIViewController <OHGridViewDelegate, OHGridViewDataSource, UIActionSheetDelegate, ELCImagePickerControllerDelegate, UINavigationControllerDelegate, UIScrollViewDelegate> {

And in my .m

#import "ELCImagePickerController.h"
#import "ELCAlbumPickerController.h"

ELCImagePickerController *controller = [[ELCImagePickerController alloc] initImagePicker];
        [controller setDelegate:self];
        [self presentModalViewController:controller animated:YES];
        [controller release];

When trying to create, this gives me a warning No '-initImagePicker' method found. Did I miss something simple here?

Please, help! Thank.

+3
source share
1 answer

Please make sure that the method is initImagePickerpresent in ELCImagePickerController.h.

Also, I think the Readme on Github is not updating.

-(void)selectedAssets:(NSArray*)_assets, ELCImagePickerController.m.

0

All Articles