Skip to content

[bug] iOS webview becomes blank and unresponsive when resuming from the background #14371

@JeffTsang

Description

@JeffTsang

Describe the bug

On iOS, the webview can become blank and unresponsive when resuming from the background.

Reproduction

In Simulator, put the app in the background, kill the WebContent process, and bring the app back into the foreground.

Expected behavior

The webview should not become blank and unresponsive. The app should be able to handle the termination of the web content process.

Full tauri info output

[✔] Environment
    - OS: Mac OS 15.7.1 arm64 (X64)
    ✔ Xcode Command Line Tools: installed
    ✔ Xcode: 26.0.1
    ✔ rustc: 1.87.0 (17067e9ac 2025-05-09)
    ✔ cargo: 1.87.0 (99624be96 2025-05-06)
    ✔ rustup: 1.28.2 (e4f3ad6f8 2025-04-28)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 22.20.0
    - pnpm: 10.19.0
    - npm: 10.9.3

[-] Packages
    - tauri 🦀: 2.9.1
    - tauri-build 🦀: 2.5.1
    - wry 🦀: 0.53.5
    - tao 🦀: 0.34.5
    - @tauri-apps/api  ⱼₛ: not installed!
    - @tauri-apps/cli  ⱼₛ: 2.9.1

[-] Plugins
    - tauri-plugin-opener 🦀: 2.5.1
    - @tauri-apps/plugin-opener  ⱼₛ: not installed!

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../src

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions