Search code examples
iosios6barcodepassbookpasskit

Label instead of barcode in passbook


Is it possible to place a label with text instead of barcode in a Coupon type pass? Something like this.

enter image description here


Solution

  • In the early betas of iOS6, it used to be possible to have barcode type of PKBarcodeFormatText, but this never made it through to the production version.

    It is now not possible to replace the barcode with text. The best you can do is to add a code and use the altText key to provide a legible string below the barcode.

    From the Passbook Package Format Reference guide:

    Passbook Package Format Reference