ios - 世博弹出后我可以使用世博相机吗
问题描述
在 Expo Eject 之后,我想用 IPA (Xcode) 在我的应用程序中测试相机,但它不起作用。
这是我的 Info.plist 文件的一部分
信息列表:
<key>NSCameraUsageDescription</key>
<string>Permet la prise de photos de votre véhicule pour l'état des lieux.</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string/>
<key>UILaunchStoryboardName</key>
<string>SplashScreen</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UIRequiresFullScreen</key>
<false/>
<key>UIStatusBarStyle</key>
<string>UIStatusBarStyleDefault</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>UIAppFonts</key>
<array>
<string>AntDesign.ttf</string>
<string>Entypo.ttf</string>
<string>EvilIcons.ttf</string>
<string>Feather.ttf</string>
<string>FontAwesome.ttf</string>
<string>FontAwesome5_Brands.ttf</string>
<string>FontAwesome5_Regular.ttf</string>
<string>FontAwesome5_Solid.ttf</string>
<string>Fontisto.ttf</string>
<string>Foundation.ttf</string>
<string>Ionicons.ttf</string>
<string>MaterialCommunityIcons.ttf</string>
<string>MaterialIcons.ttf</string>
<string>Octicons.ttf</string>
<string>SimpleLineIcons.ttf</string>
<string>Zocial.ttf</string>
</array>
</dict>
</plist>
这是我的 pakage.json 文件的一部分
包.json:
{
"scripts": {
"start": "react-native start",
"android": "react-native run-android",
"ios": "react-native run-ios",
"web": "expo start --web",
"eject": "expo eject",
"lint": "eslint '*/**/*.{js,ts,tsx}' --quiet --fix"
},
...
据我了解,我们可以在 Expo 弹出后使用 Expo 包
欢迎任何想法!
解决方案
推荐阅读
- python - python-docx:如何打印文档的页码和总页数?
- ajax - select2 4.0.8,templateSelection 选项不起作用
- c++ - 如何设置在 Windows 上使用 CreateProcess 创建的新进程的主线程的堆栈大小?
- flutter - 如何在拖动时更新 Draggable 反馈小部件?
- laravel - 通过 laravel 验证在控制器中验证 unix timstamp
- python - 无法从linearmodel python包中加载数据集
- karate - 如何使用空手道验证非 JSON 响应正文 (2)
- python - 执行 AWS 命令:ModuleNotFoundError: No module named 'urllib3'
- java - 在eclipse中调试远程java应用程序时创建构建文件
- css - GatsbyJS + TypographyJS:如何让 Typography 优先?