We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2c1d46 commit fa50d2aCopy full SHA for fa50d2a
Classes/RootViewController.m
@@ -77,7 +77,7 @@ - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
77
}
78
79
- (IBAction)scan {
80
- CardIOPaymentViewController *paymentVC = [[CardIOPaymentViewController alloc] initWithPaymentDelegate:self scanningEnabled:!self.manualSwitch.on];
+ CardIOPaymentViewController *paymentVC = [[CardIOPaymentViewController alloc] initWithPaymentDelegate:self scanningEnabled:!self.manualSwitch.on preferredDevicePosition:AVCaptureDevicePositionUnspecified];
81
paymentVC.collectExpiry = self.expirySwitch.on;
82
paymentVC.collectCVV = self.cvvSwitch.on;
83
paymentVC.collectPostalCode = self.zipSwitch.on;
0 commit comments