Exercises

1. In the sample app, minimal information is displayed about each pass. Enhance the app to display more detail about each pass when it exists in Passbook, utilizing the localizedName, localizedDescription, localizedValueForFieldKey, relevantDate, and organizationName methods of a PKPass object.

2. Create custom passes for each type. Start with a new design, implement the design, sign and package the pass, and test it in the Simulator.

Get iOS Components and Frameworks: Understanding the Advanced Features of the iOS SDK now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.