Open the local album, cannot select image?

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");

}];


I open the local album with the above code, the selected button disappears, only the cancel button still exists.


My system is IOS11.1.2, and the device is iPad mini4