/TestSheet

Simple app to reproduce SwiftUI macOS crash

Primary LanguageSwift

This app demonstrates a SwiftUI bug (crash) that occurs in macOS, but not iPadOS.

To reproduce:

  1. Run the app targeting macOS.
  2. Click the '+' icon in the upper-right.
  3. Click the magnifying glass icon in the upper-right.
  4. Watch it crash.

Repeat the above, targeting iPadOS, see it presents the sheet just fine.