---
title: configureWithDefaultBackground()
framework: uikit
role: symbol
role_heading: Instance Method
path: uikit/uibarappearance/configurewithdefaultbackground()
---

# configureWithDefaultBackground()

Configures the bar appearance object with default background and shadow values.

## Declaration

```swift
func configureWithDefaultBackground()
```

## Discussion

Discussion Calling this method replaces any previous values you specified for the bar appearance properties.

## See Also

### Resetting the appearance properties

- [configureWithOpaqueBackground()](uikit/uibarappearance/configurewithopaquebackground().md)
- [configureWithTransparentBackground()](uikit/uibarappearance/configurewithtransparentbackground().md)
