November 2013
Intermediate to advanced
576 pages
19h 3m
English
To display a barcode on the pass, provide a message, a barcode format, and a message encoding parameter. Optionally, provide an alternative text parameter that will display a human-readable version of the message.
"barcode" : { "message" : "123456789", "format" : "PKBarcodeFormatQR", "messageEncoding" : "iso-8859-1" "altText" : "123456789",},
The fields used to display a barcode are:
format (required): A string representing a PassKit constant specifying the barcode format the barcode should be displayed in. Passbook currently supports QR (PKBarcodeFormatQR), PDF 417 (PKBarcodeFormatPDF417 ...
Read now
Unlock full access