如果您的应用程序使用相机,则必须NSCameraUsageDescription
在InfoPlist.strings
. 但是如果我不想使用任何自定义消息怎么办?是否可以像这样设置为空empty NSCameraUsageDescription
:
NSCameraUsageDescription = "";
文档对此说有点奇怪:
If your app attempts to access the device’s camera without a corresponding purpose string, your app exits
. 什么是“出口”?我的应用程序会被拒绝吗?