tipBackground(_:)
Sets the tip’s view background to a style.
Declaration
nonisolated func tipBackground<S>(_ style: S) -> some View where S : ShapeStyle
Parameters
- style:
An instance of a type that conforms to
ShapeStylethat SwiftUI draws behind the modified view.
Return Value
A view with the specified style drawn behind it.
See Also
Providing tips
popoverTip(_:arrowEdge:action:)popoverTip(_:isPresented:attachmentAnchor:arrowEdge:action:)popoverTip(_:isPresented:attachmentAnchor:arrowEdges:action:)tipAnchor(_:)tipBackgroundInteraction(_:)tipCornerRadius(_:antialiased:)tipImageSize(_:)tipViewStyle(_:)tipImageStyle(_:)tipImageStyle(_:_:)tipImageStyle(_:_:_:)