IOS: iOS6 Passbook application development details, ios6passbook

Source: Internet
Author: User

IOS: iOS6 Passbook application development details, ios6passbook
Passbook is a new function of iOS6 and can only be used in iPhone and iPod touch devices. It can help manage e-membership cards, credit card, and coupons issued by sellers.

1. Passbook and Pass.

Passbook is our "card package", while Pass is the "card" and "coupon" in it ".

2. The internal structure of Pass.

Each Pass is a compressed file in ZIP format. The file suffix is pkpass, which is used by users in some special ways.

Icon.png is the icon of the normal display, and the size is unlimited. Icon@2x.pngis the image used by the retina display screen. Its height and width should be twice that of icon.png.

3. QR code

Pass does not support old-fashioned bar codes. It only supports two-dimensional bar codes in three formats:

1. QR code: a two-dimensional barcode, also known as the Rapid Response Matrix Code, is the most popular two-dimensional space barcode in Japan. The QR code is square. The common difference is that the QR code is black and white. In the three corners, there is a small square pattern, like "back. The three are icons that help the decoding software to locate. You do not need to align them. The data can still be correctly read whether it is scanned from any angle.

2, yards: a type of QR code, is a high-density, high-Information Portable data file, is to achieve the identification documents and cards and other large capacity, high-reliability information automatic storage, ideal means to carry and use machines to automatically read data.

3. Aztec code: It was invented by Andrew Longacre in 1995 and is mainly used for international publishing.

4. Create a Pass.

The purpose of creating a Pass certificate is to digitally sign the Pass file to prevent tampering.

5. Release Pass.

1. There are three ways to publish: E-mail, Web site, and application.

2. If you can add a Pass to Passbook in Mac ox s, you need to set the same iCloud account in Mac OS X, iPhone (or iPod touch), which is synchronized through iCloud.

3. Apple has requirements for adding button styles. Do not use custom buttons or hyperlinks in Web pages or e-mail, but instead of buttons.

4. In some cases, Passbook is unavailable, for example, on an iPad device.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.