删除 iphone 中的 "choose from gallary" 选项?

Remove "choose from gallary" option in iphone?

我正在开发一个项目,该项目提供从任何 phone 捕获图像并将其上传到网站服务器的功能。

但我在使用 iphone 时遇到问题。

当用户点击 Snap it 按钮时,它也会显示 "Choose from gallary" 选项。

这是图片:

是否可以禁用此选项?每当使用此网站时,如何从 iphone 禁用此选项?

我想删除选项 "Choose existing"。

试试这个代码:

        UIImagePickerController *imagePickController=[[UIImagePickerController alloc]init];
        //You can use isSourceTypeAvailable to check

        if ([UIImagePickerController    isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera])
        {
            imagePickController.sourceType=UIImagePickerControllerSourceTypeCamera;
            imagePickController.showsCameraControls=YES;
            //  self.usingPopover = NO;
        }
        else if ([UIImagePickerController  isSourceTypeAvailable:UIImagePickerControllerSourceTypePhotoLibrary]) {//Check PhotoLibrary  available or not
            imagePickController.sourceType=UIImagePickerControllerSourceTypePhotoLibrary;
            imagePickController.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
        }
        else if ([UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeSavedPhotosAlbum]) //Check front Camera available or not
            imagePickController.sourceType=UIImagePickerControllerSourceTypeSavedPhotosAlbum;
        //else //!!!!!!!!!!!exception

        imagePickController.delegate=self;
        imagePickController.allowsEditing=NO;

        [self presentModalViewController:imagePickController animated:YES];