WWDC22 SALE: Save 50% on all my Swift books and bundles! >>

Sheet view not showing on non iOS 16 beta devices

Forums > SwiftUI

I have shared my app via testflight with a couple of friends, trying to test out some new sheet views. I have Xcode 14 installed and on my iOS 16 beta iPhone it works fine. On all other iPhone (using iOS 15) the sheet views are simply not showing up.

Any ideas why? I'm trying to figure out if its beta related (bug) or something I'm missing.

Here the code:

        .sheet(isPresented: $showSheet, content: {
            VStack {
                Text("Lass uns gemeinsam diese Insel entdecken")
                VideoPlayer(player: AVPlayer(url:  Bundle.main.url(forResource: "video", withExtension: "mp4")!))
                    .frame(height: 220)


Hacking with Swift is sponsored by RevenueCat

SPONSORED In-app subscriptions are a pain. The code can be hard to write, hard to test, and full of edge cases. RevenueCat makes it straightforward and reliable so you can get back to building your app.

Explore the docs

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

Unknown user

You are not logged in

Log in or create account

Link copied to your pasteboard.