如何在iOS7中构建和打印可扫描的Passbook Pass [英] How to built and print a scannable Pass for Passbook in iOS7

查看:173
本文介绍了如何在iOS7中构建和打印可扫描的Passbook Pass的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法弄清楚如何在iOS7的Passbook应用程序中使用新的QR码扫描程序为可以扫描的Pass构建OR代码。

i can't figure out how to build a OR Code for a Pass that is scannable with the new QR code scanner in iOS7' Passbook App.

当我尝试使用指向工作通行证的链接扫描QR码,该应用程序表示此卡无法通行证。卡,哼哼?!

When I try to scan a QR Code with a link to a working Pass, the App says it is 'No Pass available for this Card'. Card, hum?!

任何想法?

推荐答案

传递给安装,必须满足以下条件:

For a pass to install, the following criteria have to be met:


  • 链接必须是https

  • 该网址必须返回有效的 .pkpass 捆绑包

  • Content-Type 标题必须是 application / vnd.apple.pkpass

  • The link must be https
  • The URL must return a valid .pkpass bundle
  • The Content-Type header must be application/vnd.apple.pkpass

不幸的是,这些要求尚未记录,但WWDC会议中提到了它们 Passbook中的新功能

Unfortunately, these requirements are not yet documented, but they are mentioned in the WWDC session What's new in Passbook

这篇关于如何在iOS7中构建和打印可扫描的Passbook Pass的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆