CB-7667 iOS8: Handle case where camera is not authorized (closes #49)

In iOS 7+, when the app does not have access to the camera, show a
prompt notifying the user so they're not puzzled by looking at a black
screen.

In iOS 8+, include a link on the dialog to open the Setting app to allow
the user to change their Camera privacy setting.

Signed-off-by: Shazron Abdullah <shazron@apache.org>
This commit is contained in:
Dan Polivy
2014-09-30 14:28:24 -07:00
committed by Shazron Abdullah
parent b8b53c6254
commit 9f9e5ef4a9
2 changed files with 44 additions and 1 deletions
+1
View File
@@ -146,6 +146,7 @@
<framework src="AssetsLibrary.framework" />
<framework src="MobileCoreServices.framework" />
<framework src="CoreGraphics.framework" />
<framework src="AVFoundation.framework" />
<config-file target="*-Info.plist" parent="NSLocationWhenInUseUsageDescription">
<string></string>