---
title: "tipBackground(_:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/view/tipbackground(_:)"
---

# tipBackground(_:)

Sets the tip’s view background to a style.

## Declaration

```swift
nonisolated func tipBackground<S>(_ style: S) -> some View where S : ShapeStyle

```

## Parameters

- `style`: An instance of a type that conforms to ShapeStyle that SwiftUI draws behind the modified view.

## Return Value

Return Value A view with the specified style drawn behind it.

## See Also

### Providing tips

- [popoverTip(_:arrowEdge:action:)](swiftui/view/popovertip(_:arrowedge:action:).md)
- [popoverTip(_:isPresented:attachmentAnchor:arrowEdge:action:)](swiftui/view/popovertip(_:ispresented:attachmentanchor:arrowedge:action:).md)
- [popoverTip(_:isPresented:attachmentAnchor:arrowEdges:action:)](swiftui/view/popovertip(_:ispresented:attachmentanchor:arrowedges:action:).md)
- [tipAnchor(_:)](swiftui/view/tipanchor(_:).md)
- [tipBackgroundInteraction(_:)](swiftui/view/tipbackgroundinteraction(_:).md)
- [tipCornerRadius(_:antialiased:)](swiftui/view/tipcornerradius(_:antialiased:).md)
- [tipImageSize(_:)](swiftui/view/tipimagesize(_:).md)
- [tipViewStyle(_:)](swiftui/view/tipviewstyle(_:).md)
- [tipImageStyle(_:)](swiftui/view/tipimagestyle(_:).md)
- [tipImageStyle(_:_:)](swiftui/view/tipimagestyle(_:_:).md)
- [tipImageStyle(_:_:_:)](swiftui/view/tipimagestyle(_:_:_:).md)
