                     self.detectAndCallback()
             })
         case .Unauthorized:
-            self.showDeniedAlert(.Camera, presentingViewController: presentingViewController)
+            self.showDeniedAlert(.Camera)
         default:
             break
         }

        }
    }
    
    public func requestPhotos(presentingViewController: UIViewController? = nil) {
        switch statusPhotos() {
        case .Unknown:
            PHPhotoLibrary.requestAuthorization({ (status) -> Void in
                self.detectAndCallback()
            })
        case .Unauthorized:
            self.showDeniedAlert(.Photos, presentingViewController: presentingViewController)
        default:
            break
        }

        alert.addAction(UIAlertAction(title: "OK",
            style: .Cancel,
            handler: nil))
        viewControllerForAlerts!.presentViewController(alert,
            animated: true, completion: nil)
    }
    
