- INSTANT Passbook App Development for iOS How-to
- Keith D. Moon
- 247字
- 2021-08-20 16:48:22
There's more…
Support for Passbook is also built into OSX Mountain Lion (10.8.2). Pass files with the pkpass
file extension will open in a preview window:

Clicking on the Add to Passbook button will place the Pass in the Passbook associated with the iCloud account set up in OSX system preferences.
The OSX Mail app and Safari also support embedded Passes.
When building a Pass, you can specify a relevant time and up to 10 relevant locations that will trigger a message to be displayed on the lock screen. The message looks similar to a push notification, however a Pass notification is less intrusive. When it is relevant to display, it doesn't vibrate the iPhone and it doesn't wake up the screen. The notification only becomes visible when the phone wakes up from sleep:

The option to specify relevant times and locations, and how far from the location the notification is triggered, is determined by the Pass type, as we will see later.
Apps using Passbook
Some of the apps in the App Store using Passbook are as follows:
- Hotels.com: This uses Passbook for room reservation details. It can be downloaded from http://appstore.com/hotelscom/hotelscom.
- Starbucks: This uses Passbook for a store card. It can be downloaded from http://appstore.com/starbuckscoffeecompany.
- Ticketmaster: This uses Passbook for event tickets. It can be downloaded from http://appstore.com/ticketmaster/ticketmaster.
- United Airlines: This uses Passbook for boarding passes. It can be downloaded from http://appstore.com/unitedairlines.
Further documentation
For more details refer to Apple's Passbook documentation at https://developer.apple.com/passbook/.
- UI設計基礎培訓教程
- Learning ROS for Robotics Programming(Second Edition)
- LabVIEW程序設計基礎與應用
- 高效微控制器C語言編程
- CentOS 7 Server Deployment Cookbook
- Processing互動編程藝術
- 精通網絡視頻核心開發技術
- Python計算機視覺和自然語言處理
- MongoDB Cookbook(Second Edition)
- Kotlin進階實戰
- Laravel Design Patterns and Best Practices
- Swift High Performance
- 量子計算機編程:從入門到實踐
- Mastering ASP.NET Web API
- 打造流暢的Android App