Learn Courses My Dashboard

App Appearing in iPad Sidebar Only

Hi, I had a very strange incident happen today. I was testing my app on the iPad Pro simulator on Xcode but when I ran the app, it only appeared on the slide-over sidebar. I’ll attach screenshots below.

I’m not sure if this is because of a setting I have unchecked or if it’s a code/UI bug… The app works just fine on iPhone. All the code is available in a public repo at this link: GitHub - KadenZheng/PhoeniKZ: University High School App

What a strange bug, I greatly appreciate anyone’s help. Thank you!

Try adding the modifier


to the closing brace of your NavigationView in your HomeView. I note that there is more than one View with a NavigationView so you may have to apply that same modifier to all your NavigationVIew’s

It’s not a bug, it’s a feature! :crazy_face: literally haha SwiftUI does this by default

Haha idk why, but Chris’ solution should work