Canxe Official
Canxe Official

Reputation: 13

How to show same view as iPhone on iPad instead of Split view?

I want the views to look the same on iPad as they do on iPhone.

Currently it looks like this:

enter image description here

Upvotes: 0

Views: 239

Answers (1)

jnpdx
jnpdx

Reputation: 52312

Hard to say without any code, but I bet you need to add .navigationViewStyle(StackNavigationViewStyle()) to your NavigationView to not get it in split view mode on the iPad:

NavigationView {
  View1()
}.navigationViewStyle(StackNavigationViewStyle())

Upvotes: 3

Related Questions