UIImagePickerController不调用代理

iOS 码拜 7年前 (2015-11-29) 1200次浏览
关键代码如下:
@implementation PublishAdViewController
{
UIImagePickerController *picker_library;
}
picker_library = [[UIImagePickerController alloc] init];
picker_library.delegate = self;
picker_library.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
picker_library.allowsEditing = YES;
[self presentViewController:picker_library animated:YES completion:nil];
协议,代理都添加了,可是选完图片后压根不走-(void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info代理方法,这是为什么啊,急!

CodeBye 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明UIImagePickerController不调用代理
喜欢 (0)
[1034331897@qq.com]
分享 (0)