         }
     }
     
+    /**
+     * Generate the view of no permission.
+     */
     private func showNoPermissionsView(library: Bool = false) {
         let permissionsView = PermissionsView(frame: view.bounds)
         let title: String

        view.setNeedsUpdateConstraints()
    }
    
    override public func updateViewConstraints() {
        if !didUpdateViews {
            configCameraViewConstraints()

    let cameraButton : UIButton = {
        let button = UIButton()
        button.translatesAutoresizingMaskIntoConstraints = false
        button.enabled = false
        button.setImage(UIImage(named: "cameraButton",
            inBundle: CameraGlobals.shared.bundle,
            compatibleWithTraitCollection: nil),
