We are developing Credit Card Scanning feature in our app.
We came to VNDocumentCameraViewController for the image capturing step. (the text detection is done using Vision's text recognization API).
Implementation
VNDocumentCameraViewController *vc = [[VNDocumentCameraViewController alloc] init];
vc.delegate = self;
[self presentViewController:vc animated:YES completion:nil];
Query-1
Now, here we want to remove editing mode of VNDocumentCameraViewController when capturing fails for the card and we do want to allow only 1 image capturing.
We did not find anything for the same on documentation - https://developer.apple.com/documentation/visionkit/vndocumentcameraviewcontroller
Would you please help that how can we achieve that.
Query-2
Can we use Credit Card Scan feature of Safari (which appears when field is configured as Credit Card Number input) in the iOS Native application.
Is there any to do that? Please let us know.