---
title: "addPassButtonWithStyle:"
framework: passkit
role: symbol
role_heading: Type Method
path: "passkit/pkaddpassbutton/addpassbuttonwithstyle:"
---

# addPassButtonWithStyle:

Returns a button that prompts the user to add a pass to Wallet.

## Declaration

```occ
+ (instancetype) addPassButtonWithStyle:(PKAddPassButtonStyle) addPassButtonStyle;
```

## Parameters

- `addPassButtonStyle`: The button’s style. For a complete list of styles, see doc://com.apple.passkit/documentation/PassKit/PKAddPassButtonStyle.

## Return Value

Return Value Returns a PKAddPassButton instance with the specified style.

## See Also

### Creating add pass buttons

- [init(addPassButtonStyle:)](passkit/pkaddpassbutton/init(addpassbuttonstyle:).md)
