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

# tipBackgroundInteraction(_:)

Controls whether people can interact with the view behind a presented tip.

## Declaration

```swift
nonisolated func tipBackgroundInteraction(_ interaction: PresentationBackgroundInteraction) -> some View

```

## Parameters

- `interaction`: A specification of how people can interact with the view behind a presented tip.

## Discussion

Discussion On many platforms, SwiftUI automatically disables the view behind a popover tip that you present, so that people can’t interact with the backing view until they dismiss the tip. Use this modifier if you want to enable interaction. The following example enables people to interact with the view behind a popoverTip. struct LandmarkDetail: View {     let landmark: Landmark

var body: some View {         ScrollView {             MapView(coordinate: landmark.locationCoordinate)                 .popoverTip(CampsiteTip())                 .tipBackgroundInteraction(.enabled)

HStack {                 Text(landmark.name)                 Text(landmark.park)             }         }     } }

## 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)
- [tipBackground(_:)](swiftui/view/tipbackground(_:).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)
