iOS请求相册访问权限时,不弹出alert询问权限!
另外在系统设置里也找不到该项目
访问相册的代码如下(应该没有问题,在其他工程中测试过了)
UIImagePickerController *vc = [[UIImagePickerController alloc] init];
vc.mediaTypes = [UIImagePickerController availableMediaTypesForSourceType:UIImagePickerControllerSourceTypePhotoLibrary];
vc.delegate = self;
[self presentViewController:vc animated:YES completion:nil];
是不是工程配置出了问题?
joyyee
9 years, 1 month ago