---
title: configureWithTransparentBackground()
framework: uikit
role: symbol
role_heading: Instance Method
path: uikit/uibarappearance/configurewithtransparentbackground()
---

# configureWithTransparentBackground()

Configures the bar appearance object with a transparent background and no shadow.

## Declaration

```swift
func configureWithTransparentBackground()
```

## Discussion

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

## See Also

### Resetting the appearance properties

- [configureWithDefaultBackground()](uikit/uibarappearance/configurewithdefaultbackground().md)
- [configureWithOpaqueBackground()](uikit/uibarappearance/configurewithopaquebackground().md)
