Function tauri_sys::app::hide

source ·
pub async fn hide() -> Result<(), Error>
Expand description

Hides the application on macOS.

§Example

use tauri_api::app::hide;

hide().await;

Requires allowlist > app > hide to be enabled.