card.io-iOS-SDK
card.io-iOS-SDK copied to clipboard
Option to open Manual Entry screen first
Hello guys. Thank you all for useful library.
Could you add support for open Manual Entry screen first instead of Scanner screen?
Also would be nice to have, as option, photo icon on the right side of Card number input field instead of "Camera" button on the top left corner on iOS:
Thank you.
Looks like this is related to https://github.com/card-io/card.io-iOS-source/pull/52.
Yes, you can open manual entry screen first as below:
- Pass false for scanningEnabled
let cardIOVC = CardIOPaymentViewController(paymentDelegate: self, scanningEnabled: false) cardIOVC?.modalPresentationStyle = .formSheet present(cardIOVC!, animated: true, completion: nil)