我有一个可以从图库中捕获图像或从画廊中拾取图像的应用程序,问题是客户希望将图像选择器中的标签从“使用照片”更改为“选择”
if UIImagePickerController.isSourceTypeAvailable(.camera) {
let showCamera = UIImagePickerController()
showCamera.delegate = self as UIImagePickerControllerDelegate & UINavigationControllerDelegate
showCamera.sourceType = .camera;
showCamera.allowsEditing = false
self.present(showCamera, animated: true, completion: nil)
}