iphone上的相册

iphone上的相册,iphone,uiimagepickercontroller,photo,Iphone,Uiimagepickercontroller,Photo,下面的代码用于转到相册。下面的代码显示错误。我正在我的.h文件中添加UIImagePickerControllerDelegates,如下所示: @interface My_Pictures : UIViewController <UINavigationControllerDelegate,UIImagePickerControllerDelegates> UIImageWriteToSavedPhotosAlbum() 您必须在.h类中实现这样的委托 @interface My

下面的代码用于转到相册。下面的代码显示错误。我正在我的.h文件中添加UIImagePickerControllerDelegates,如下所示:

@interface My_Pictures : UIViewController <UINavigationControllerDelegate,UIImagePickerControllerDelegates>

UIImageWriteToSavedPhotosAlbum()

您必须在.h类中实现这样的委托

@interface My_Pictures : UIViewController<UIImagePickerControllerDelegate>
@界面我的图片:UIViewController

最好的。

My_Pictures是我的类名。错误:类“My_Pictures”未实现“UIImagePickerController Delegate”协议。您有以下方法:-(无效)imagePickerController:(UIImagePickerController*)PickerImagePickerController:didFinishPickingMediaWithInfo:(NSDictionary*)编辑如果您有此项:-(无效)imagePickerController:(UIImagePickerController*)PickerImagePickerController:didFinishPickingMediaWithInfo:(NSDictionary*)编辑我没有…如果我想添加该方法,请说明添加该方法的目的…请告诉我此方法的目的:-(无效)imagePickerController:(UIImagePickerController*)PickerImagePickerController:didFinishPickingMediaWithInfo:(NSDictionary*)编辑信息
@interface My_Pictures : UIViewController<UIImagePickerControllerDelegate>