Generic Instance Method

popover(isPresented:attachmentAnchor:arrowEdge:content:)

Presents a popover when a given condition is true.

Declaration

func popover<Content>(isPresented: Binding<Bool>, attachmentAnchor: PopoverAttachmentAnchor = .rect(.bounds), arrowEdge: Edge = .top, @ViewBuilder content: @escaping () -> Content) -> some View where Content : View

See Also

Presenting Additional Views