ios - 如何将 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 类型并且不可能使用徽标、图标或条形图像。
解决方案
唯一可用的格式是 PKBarcodeFormatQR、PKBarcodeFormatPDF417、PKBarcodeFormatAztec 和 PKBarcodeFormatCode128,其中 PKBarcodeFormatCode128 与 watchOS 不兼容。
回答您的问题:不,Apple 目前不支持 ITF 条形码。
推荐阅读
- github-actions - 如果不是拉取请求,则仅运行 GitHub Actions 步骤
- php - 如何在 PHP 中从单个动态图像创建视频流
- java - 在 Springboot 上运行的用 Java/Spring 批处理/Oracle 编写的 ETL 作业的高可用性架构
- vue.js - vuejs在窗口调整大小时获取参考元素高度
- javascript - 反应重定向单元测试未呈现预期的dom
- git - 是 git config 用户名和电子邮件,再添加一个 ssh 公钥就可以在计算机上使用第二个 Github 帐户吗?
- javascript - BOOTSTRAP v3.3.5 响应式断点和标志
- c# - 如何实现 asp-append-version="true" 到背景图像属性?
- java - Pagable Sort.Order 忽略大小写
- tcp - 为什么我不能通过 HAProxy 将超过 8000 个客户端连接到 MQTT 代理?