How to properly set UIRequiredDeviceCapabilities?

前端 未结 1 823
傲寒
傲寒 2020-12-09 10:31

I have had an app rejected by Apple stating that I need to implement UIRequiredDeviceCapabilities in my info.plist due to my app requiring a camera flash. I und

相关标签:
1条回答
  • 2020-12-09 11:06

    Add this text to your app's Info.plist file:

    <key>UIRequiredDeviceCapabilities</key>
    <array>
        <string>camera-flash</string>
    </array>
    

    You only need a dictionary if some of the capability requirements need to be false.

    0 讨论(0)
提交回复
热议问题