Instance Method

dismissAddPassesController()

Dismisses the pass interface controller

Declaration

func dismissAddPassesController()

Discussion

Use this method to dismiss a pass controller you previously displayed using the presentAddPassesController(withPasses:completion:) method. When dismissing the pass controller programmatically, WatchKit still calls the completion block you provided.

See Also

Adding PassKit Passes

func presentAddPassesController(withPasses: [PKPass], completion: () -> Void)

Displays a modal interface for presenting passes to the user.