Need help installing ELCImagePickerController?
I was excited when I ran across ELCImagePickerController. When following the instructions on their website and github, it crashes when开发者_运维问答 I try to show it. I coppied the ELC Image Picker folder inside my app, and I have 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 build, it gives me the warning No '-initImagePicker' method found. Am I missing something simple here?
Please help! Thanks.
Please ensure that the initImagePicker method is present in ELCImagePickerController.h.
Also, I guess the Readme in Github is not updated.
Try using the -(void)selectedAssets:(NSArray*)_assets method implemented in ELCImagePickerController.m.
加载中,请稍侯......
精彩评论