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.
source
share