tags:

views:

88

answers:

1

Hi there, 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 understand the issue but I am not sure how to properly set this key. Do I create UIRequiredDeviceCapabilities as a dictionary or array? and camera-flash as a bool or string? Any help is appreciated! Thanks!

+1  A: 

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.

hotpaw2