---
title: "setDefaultButtonTitle(_:)"
framework: securityinterface
role: symbol
role_heading: Instance Method
path: "securityinterface/sfchooseidentitypanel/setdefaultbuttontitle(_:)"
---

# setDefaultButtonTitle(_:)

Customizes the title of the default button.

## Declaration

```swift
func setDefaultButtonTitle(_ title: String!)
```

## Parameters

- `title`: The new title for the default button. The default title for this button is “OK”.

## Discussion

Discussion The default button dismisses the sheet or panel and returns a value of NSOKButton.

## See Also

### Customizing the Appearance of the Sheet or Panel

- [setAlternateButtonTitle(_:)](securityinterface/sfchooseidentitypanel/setalternatebuttontitle(_:).md)
- [setPolicies(_:)](securityinterface/sfchooseidentitypanel/setpolicies(_:).md)
- [policies()](securityinterface/sfchooseidentitypanel/policies().md)
- [informativeText()](securityinterface/sfchooseidentitypanel/informativetext().md)
- [setInformativeText(_:)](securityinterface/sfchooseidentitypanel/setinformativetext(_:).md)
