将 CarPlay 模拟器添加到我的 React Native 应用程序

Posted

技术标签:

【中文标题】将 CarPlay 模拟器添加到我的 React Native 应用程序【英文标题】:Adding CarPlay Simulator to my React Native App 【发布时间】:2020-05-26 09:04:37 【问题描述】:

我正在尝试中,但没有成功!

我尝试在终端中运行这行代码,但没有任何区别...

defaults write com.apple.iphonesimulator CarPlay -bool YES

如果您有任何建议,将不胜感激!

【问题讨论】:

【参考方案1】:

从 xCode 中打开 carplay:

运行ios模拟器 从顶部栏中选择 I/O > 外接显示器 > CarPlay

【讨论】:

以上是关于将 CarPlay 模拟器添加到我的 React Native 应用程序的主要内容,如果未能解决你的问题,请参考以下文章

我应该将我的 html 代码添加到我的 react 应用程序上的 index.html 或 App.js 吗?

从 Xcode 12 CarPlay 模拟器启动时,CarPlay 停车应用程序崩溃

如何将 IOS 14 支持添加到我的 React Native 应用程序?

从 Xcode 12.5.1 CarPlay 模拟器启动时,CarPlay 停车应用程序崩溃

react-native IOS应用程序未在模拟器中显示资产

如何将 CSS 样式应用到我的 <Loader /> React 组件?