dont show carplay menu on ipads
This commit is contained in:
1 parent
395cbe5e13
commit
7434897eac
2 files changed
+19
-13
No files matched your search
@@ -18,10 +18,12 @@ struct RootView: View {
|
||||
.tabItem {
|
||||
Label("Videos", systemImage: "camera")
|
||||
}
|
||||
CarPlayView()
|
||||
.tabItem {
|
||||
Label("CarPlay", systemImage: "car")
|
||||
}
|
||||
if UIDevice.current.userInterfaceIdiom == .phone {
|
||||
CarPlayView()
|
||||
.tabItem {
|
||||
Label("CarPlay", systemImage: "car")
|
||||
}
|
||||
}
|
||||
ExploreView()
|
||||
.tabItem {
|
||||
Label("Explore", systemImage: "safari")
|
||||
|
||||
Reference in new issue
Block a user