disable carplay on ios 26db4+ and make CarPlayManager

This commit is contained in:
leminlimez committed 2025-08-12 14:45:49 -04:00
1 parent d35636c0be
commit dd902d2c30
8 files changed
+158 -123

No files matched your search

+1 -1
View File
@@ -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")