disable carplay on ios 26db4+ and make CarPlayManager
This commit is contained in:
1 parent
d35636c0be
commit
dd902d2c30
8 files changed
+158
-123
No files matched your search
@@ -18,7 +18,7 @@ struct RootView: View {
|
||||
.tabItem {
|
||||
Label("Videos", systemImage: "camera")
|
||||
}
|
||||
if UIDevice.current.userInterfaceIdiom == .phone {
|
||||
if CarPlayManager.supportsCarPlay() {
|
||||
CarPlayView()
|
||||
.tabItem {
|
||||
Label("CarPlay", systemImage: "car")
|
||||
|
||||
Reference in new issue
Block a user