Pass.Barcodes
An object that represents a barcode on a pass.
Declaration
object Pass.BarcodesProperties
| Name | Type | Description |
|---|---|---|
altText | string | The text to display near the barcode. For example, a human-readable version of the barcode data in case the barcode doesn’t scan. The alternative text isn’t displayed for watchOS. |
format Required | string | The format of the barcode. The barcode format PKBarcodeFormatCode128 isn’t supported for watchOS. |
message Required | string | The message or payload to display as a barcode. |
messageEncoding Required | string | The IANA character set name of the text encoding to use to convert |