     }
     
     func requestCamera() {
-        if statusCamera() == .Unknown {
+        switch statusCamera() {
+        case .Unknown:
             AVCaptureDevice.requestAccessForMediaType(AVMediaTypeVideo,
                 completionHandler: { (granted) -> Void in
                     self.detectAndCallback()
             })
-        } else if statusCamera() == .Unauthorized {
-            // TODO: Alert. User must go to Settings.
+        case .Unauthorized:
             self.showDeniedAlert(.Camera)
+        default:
+            break
         }
     }
 

    }
    
    func requestMicrophone() {
        if statusMicrophone() == .Unknown {
            AVAudioSession.sharedInstance().requestRecordPermission({ (granted) -> Void in
                self.detectAndCallback()
            })
        } else if statusMicrophone() == .Unauthorized {
            // TODO: Alert. User must go to Settings.
            self.showDeniedAlert(.Microphone)
        }
    }
    

    }

    func requestLocationInUse() {
        switch statusLocationInUse() {
        case .Unknown:
            locationManager.delegate = self
            locationManager.requestWhenInUseAuthorization()
        case .Unauthorized:
            self.showDeniedAlert(.LocationInUse)
        default:
            break
        }
    }

