Вопрос

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.

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?!

Any ideas?

Это было полезно?

Решение

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

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

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

Другие советы

The URL contained in the QR code must return a valid PKPASS file and have the correct MIME type in the HTTP response.

Does that help?

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top