Skip to main content

alert

Function alert 

Source
pub fn alert(
    view: &ViewHandle,
    title: &str,
    actions: &ViewHandle,
    presented: bool,
) -> ViewHandle
Expand description

alert with a fixed flag. It cannot be dismissed: SwiftUI treats a Binding.constant as read-only, so the presentation has no way to write false back. Use alert_bound for one the user can close.