init(passes:)
Initializes and returns a newly created add-passes view controller with an array of passes.
Declaration
init?(passes: [PKPass])Parameters
- passes:
The passes for the view controller to display.
Return Value
The initialized add-passes view controller object or nil if there was a problem initializing the object.