tipBackground(_:)
Sets the tip’s view background to a style. Currently this only applies to inline tips, not popover tips.
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.