case point(UnitPoint )
The anchor point for the popover expressed as a unit point that describes possible alignments relative to a SwiftUI view.
case rect(Anchor<CGRect>.Source)
The anchor point for the popover relative to the source’s frame.
Availability 有効性
Technology
enum PopoverAttachmentAnchor
case point(UnitPoint )
case rect(Anchor<CGRect>.Source)
func popover<Content>(isPresented : Binding<Bool>, attachmentAnchor : PopoverAttachmentAnchor , arrowEdge : Edge, content: () -> Content) -> some View
func popover<Item, Content>(item: Binding<Item?>, attachmentAnchor : PopoverAttachmentAnchor , arrowEdge : Edge, content: (Item) -> Content) -> some View