From a5f3850beb29c30722ff1a8e6ca14635687fd6fa Mon Sep 17 00:00:00 2001 From: wtimme Date: Tue, 18 Apr 2017 21:43:45 +0200 Subject: [PATCH] Don't crash the sample app when running on new devices (#57) Before accessing the camera an app needs to ask for permission, otherwise it crashes, rendering it unusable and stalling the device when debugging. --- PRAR-Simple/PRAR-Simple/PRAR-Simple-Info.plist | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PRAR-Simple/PRAR-Simple/PRAR-Simple-Info.plist b/PRAR-Simple/PRAR-Simple/PRAR-Simple-Info.plist index 07f229a..5040db1 100644 --- a/PRAR-Simple/PRAR-Simple/PRAR-Simple-Info.plist +++ b/PRAR-Simple/PRAR-Simple/PRAR-Simple-Info.plist @@ -36,5 +36,7 @@ UIInterfaceOrientationPortrait + NSCameraUsageDescription + The app displays annotation in the world around, overlaying the video from your camera.