Instance Method

alert(isPresented:content:)

Presents an alert to the user.

Declaration

func alert(isPresented: Binding<Bool>, content: () -> Alert) -> some View