Objective c 需要帮助安装ELCImagePickerController吗?
我跑过去时很兴奋。当遵循他们网站和github上的说明时,当我试图显示它时,它崩溃了。我在我的应用程序中复制了Objective c 需要帮助安装ELCImagePickerController吗?,objective-c,xcode,ios4,uiimagepickercontroller,Objective C,Xcode,Ios4,Uiimagepickercontroller,我跑过去时很兴奋。当遵循他们网站和github上的说明时,当我试图显示它时,它崩溃了。我在我的应用程序中复制了ELC Image Picker文件夹,并在my.h中更改了以下内容: #import "ELCImagePickerController.h" @interface DetailViewController : UIViewController <OHGridViewDelegate, OHGridViewDataSource, UIActionSheetDelegate, E
ELC Image Picker
文件夹,并在my.h中更改了以下内容:
#import "ELCImagePickerController.h"
@interface DetailViewController : UIViewController <OHGridViewDelegate, OHGridViewDataSource, UIActionSheetDelegate, ELCImagePickerControllerDelegate, UINavigationControllerDelegate, UIScrollViewDelegate> {
当尝试构建时,它会向我发出警告,指出找到了No'-initImagePicker'方法
。我是不是错过了一些简单的东西
请帮忙!
谢谢。请确保
ELCImagePickerController.h
中存在initImagePicker
方法
另外,我猜Github中的自述文件没有更新
尝试使用
-(void)selectedAssets:(NSArray*)\u assets
方法,该方法在ELCImagePickerController.m
中实现,您是否从github获得了最新提交?有一个更新。此页面显示如何立即调用它:。
#import "ELCImagePickerController.h"
#import "ELCAlbumPickerController.h"
ELCImagePickerController *controller = [[ELCImagePickerController alloc] initImagePicker];
[controller setDelegate:self];
[self presentModalViewController:controller animated:YES];
[controller release];