title: Scan debit card with sort code and account number
body: <p>How can I scan Shortcode and account number with <a href="https://github.com/card-io/card.io-iOS-source" rel="nofollow noreferrer">card.io</a> SDK? <a href="https://i.stack.imgur.com/e30F4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/e30F4.png" alt="enter image description here"></a></p>
  
  <p>I have implement two delegate for that </p>
  
  <pre><code> func userDidCancel(_ paymentViewController: CardIOPaymentViewController!) {
      resultLabel.text = "user canceled"
      paymentViewController?.dismiss(animated: true, completion: nil)
  }
  
  func userDidProvide(_ cardInfo: CardIOCreditCardInfo!, in paymentViewController: CardIOPaymentViewController!) {
      if let info = cardInfo {
          let str = NSString(format: "Received card info.\n Number: %@\n expiry: %02lu/%lu\n cvv: %@.", info.redactedCardNumber, info.expiryMonth, info.expiryYear, info.cvv )
  
          if info.cardholderName != nil{  
              str.appending("\n Name: \(info.cardholderName)")
          }
  
          resultLabel.text = str as String
      }
  
      paymentViewController?.dismiss(animated: true, completion: nil)
  }
  </code></pre>