UIImagePickerController* picker = [[UIImagePickerController alloc]init];
picker.delegate = self;
picker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
picker.allowsEditing = YES;
[self presentViewController:picker animated:YES completion:^(void){
NSLog(@"ImageViewController is presented");
}];
通过上面代码,发现打开本地相册,图片没有选中按钮,只有取消按钮。系统是IOS11.1.2;设备是iPad mini4;另外在IOS7的iphone设备,发现没有这个问题。
