Initializes and returns an instance of the class.
- iOS 6.0+
- Mac Catalyst 13.0+
- watchOS 2.0+
Kit (Apple Pay and Wallet)
A definition of a pass, as described in PassKit Package Format Reference.
On error, populated with a description of the error.
The newly initialized instance.
Errors returned via the
error parameter are suitable for presentation to the user. Check the console for more detailed information.