首页 > 解决方案 > 如何将 ITF 条形码用于钱包通行证?

问题描述

Apple 的 pass 文档

For the barcode dictionary, you can use only the following values: 
PKBarcodeFormatQR, PKBarcodeFormatPDF417, or PKBarcodeFormatAztec. 
For dictionaries in the barcodes array, you may also use 
PKBarcodeFormatCode128.

是否可以通过通行证使用 ITF 条形码?专门询问 storeCard 类型并且不可能使用徽标、图标或条形图像。

标签: iosapplepaywallet

解决方案


唯一可用的格式是 PKBarcodeFormatQR、PKBarcodeFormatPDF417、PKBarcodeFormatAztec 和 PKBarcodeFormatCode128,其中 PKBarcodeFormatCode128 与 watchOS 不兼容。

回答您的问题:不,Apple 目前不支持 ITF 条形码。


推荐阅读