Skip to content

Commit fa50d2a

Browse files
committed
Demo app update.
1 parent e2c1d46 commit fa50d2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/RootViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
7777
}
7878

7979
- (IBAction)scan {
80-
CardIOPaymentViewController *paymentVC = [[CardIOPaymentViewController alloc] initWithPaymentDelegate:self scanningEnabled:!self.manualSwitch.on];
80+
CardIOPaymentViewController *paymentVC = [[CardIOPaymentViewController alloc] initWithPaymentDelegate:self scanningEnabled:!self.manualSwitch.on preferredDevicePosition:AVCaptureDevicePositionUnspecified];
8181
paymentVC.collectExpiry = self.expirySwitch.on;
8282
paymentVC.collectCVV = self.cvvSwitch.on;
8383
paymentVC.collectPostalCode = self.zipSwitch.on;

0 commit comments

Comments
 (0)