问题标签 [carplay]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
282 浏览

usb - CarPlay MFI 资源

有谁知道在哪里可以找到特定于 CarPlay 的 MFI 文档或提问的地方?

我是一名较新的开发人员,正在开发与 CarPlay 配合使用的硬件配件,但在资源上遇到了问题。我知道 MFI 计划可能很难深入了解,但希望这里的人可能有一个想法。

0 投票
1 回答
592 浏览

ios - 如何在实际设备上调试 CarPlay 应用

有什么方法可以在实际设备上运行汽车游戏应用程序。我可以在汽车游戏模拟器上运行该应用程序,但我的应用程序没有出现在实际的主机设备上。我有一个用于汽车游戏的开发配置文件,它在 iOS 设备上运行,但没有出现在主机上。

我在互联网上搜索过,但没有找到任何关于此的好帖子。任何帮助将不胜感激。

谢谢

0 投票
1 回答
429 浏览

ios - 从锁定的设备启动 CarPlay 音频应用程序时无法启动

我们有一个音频应用程序,我们想将 CarPlay 添加到它。该应用程序基本上有一个无线电流列表,用户可以选择播放哪一个。

如果我在连接到 CarPlay 的情况下从手机启动应用程序,或者从 CarPlay 启动应用程序并且设备已解锁,一切都很好。If the device is locked the app starts, I can see the elements on the list in CarPlay but when one of that is selected nothing happens.

我已经实现了MPPlayableContentDelegateMPPlayableContentDataSource应用程序选择了音频背景模式。流是从网络获取的,然后缓存到磁盘。

每个人都遇到过同样的问题或有任何解决方法的提示吗?你知道苹果是否有一个简单的、支持 CarPlay 的音频应用程序来测试吗?

0 投票
1 回答
257 浏览

ios - 应用程序未显示在任何 iPhone 的外部显示扩展中

我在 Xcode 中创建了一个新应用程序,并在 AppDelegate 文件中添加了以下代码

并在函数应用程序中调用该函数。该应用程序未显示在 CarPlay 外接显示器中。

0 投票
1 回答
274 浏览

swift - CarPlay MPContentItem

我正在为音频应用开发 CarPlay。这是我的代码

所以,问题是这样的,当我加载 CarPlay 时,我有 4 个具有相同名称/描述/图像的项目。它应该是具有不同名称、描述和图像的 4 个项目。就我而言,一切都是一样的。1 项四次。该项目是随机的。但是当我点击它时,它会进入 NowPlaying 屏幕,它是正确的项目。标签是正确的,图片也是正确的。我该如何解决这个问题,请帮助。

谢谢

PS我也测试过还是真机

0 投票
1 回答
99 浏览

ios - 文本字段在 IOS carplay 中没有接受任何输入

我有一个只有一个文本字段的屏幕。当我运行应用程序时,文本字段没有接受任何输入,它没有显示任何光标或键盘也没有显示。

0 投票
1 回答
347 浏览

carplay - 如何在 CarPlay for Audio App 中添加标签?

我正在开发要在 CarPlay 中支持的当前 iPhone 音频应用程序。但我无法显示多个标签。

0 投票
1 回答
235 浏览

ios - 如何在 CarPlay 的列表视图中删除云图标?

有谁知道如何从 CarPlay 的列表视图中删除小云图标?我附上了它的截图。这些电台仅直播,不可下载。我还将代码包含在我的 Carplay-AppDelegate、CarPlay-Playlist 和 CarPlay-StationList 中。谢谢

在此处输入图像描述

CARPLAY-APPDELEGATE 代码:

CARPLAY-播放列表代码:

CARPLAY-STATIONLIST 代码:

0 投票
0 回答
104 浏览

gps - 在某些车型上,连接 CarPlay 的 CLLocation 速度高于未连接 CarPlay 的速度

当 CarPlay 连接时,在's方法中返回的speed属性似乎在某些车型上更高。CLLocationCLLocationManagerdidUpdateLocations

这似乎与应用程序中的 CarPlay 导航支持无关,因为演示项目可以在没有 CarPlay 支持的情况下重现该问题。

确认发生这种情况的具体车型是:

  • 沃尔沃 XC90
  • 带 Sync 3 的福特中转
  • 带有 Rlink2 和最新固件的 Renault Megane IV 型号 2018
  • 欧宝雅特站 (2018)
  • 福特福克斯 2017
  • 欧宝 Astra(K 型,2017 年)— 获得一半的 GPS 速度

差异示例:

  • 车速表:120km/h
  • GPS 速度从didUpdateLocations: 115km/h
  • didUpdateLocations在其中一款车型上连接 CarPlay 的GPS 速度: 130 公里/小时

在这里您可以找到重现该问题的演示项目(使用 NL 语言环境): https ://github.com/flitsmeister/carplay-speed-problem

相关部分:

0 投票
1 回答
162 浏览

swift - In a iOS app that supports CarPlay, why the CPBarButtons in the map navigation bar show always monochrome with a light blue color?

I am trying to implement CarPlay for my navigation app, and I am experiencing a misbehaviour. Buttons that are instances of CPMapButton have their appearance on the map as expected. Instead, buttons in the CarPlay navigation bar (buttonType image), that are instances of CPBarButton, do not render well. They appear squeezed and always using a light blue color with no detail:

enter image description here

The icon I am using is the following:

enter image description here

Thanks for any help.