     }
     
     func requestPhotos() {
-        if statusPhotos() == .Unknown {
+        switch statusPhotos() {
+        case .Unknown:
             PHPhotoLibrary.requestAuthorization({ (status) -> Void in
                 self.detectAndCallback()
             })
-        } else if statusPhotos() == .Unauthorized {
+        case .Unauthorized:
             self.showDeniedAlert(.Photos)
+        default:
+            break
         }
     }
     

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


    }
    
    func requestMicrophone() {
        switch statusMicrophone() {
        case .Unknown:
            AVAudioSession.sharedInstance().requestRecordPermission({ (granted) -> Void in
                self.detectAndCallback()
            })
        case .Unauthorized:
            self.showDeniedAlert(.Microphone)
        default:
            break
        }
    }
    
