     }
     
     @IBAction func takePicture(sender: AnyObject) {
+        if AVCaptureDevice.authorizationStatusForMediaType(AVMediaTypeVideo) == .Authorized {
+            self.showCamera()
+        } else {
+            self.showWarningAlert(self.cameraAccessErrorTitle, message: self.cameraAccessErrorMessage)
+        }
+    }
+    
+    private func showWarningAlert(title: String, message: String) {
+        let alertController = UIAlertController(title: title, message: message, preferredStyle: .Alert)
+        let okAction = UIAlertAction(title: "OK", style: .Default, handler: nil)
+        alertController.addAction(okAction)
+        
+        self.presentViewController(alertController, animated: true, completion: nil)
+    }
+    
+    private func showCamera() {
         let camera = DKCamera()
         
         camera.didCancelled = { () in

    
    let showNotesButtonLabel = "PRESENTER NOTES"
    let showDescriptionButtonLabel = "BACK TO DESCRIPTION"

    override func viewDidLoad() {
        super.viewDidLoad()

import FXLabel
import MZTimerLabel
import DKCamera
import AVFoundation

class TimerViewController: UIViewControllerBase, MZTimerLabelDelegate {
    
