                 pickerController.delegate = self
                 
                 if AVCaptureDevice.authorizationStatusForMediaType(AVMediaTypeVideo) != .Authorized {
-                    let permissionView = DKNoPermissionView.permissionView()
+                    let permissionView = DKPermissionView.permissionView(.Camera)
                     pickerController.cameraOverlayView = permissionView
                 }
                 

        
    } // DKImageCollectionCell
    
    class DKNoPermissionView: UIView {
        
        let titleLabel = UILabel()
        let permitButton = UIButton()
        
        class func permissionView() -> DKNoPermissionView {
            
            let permissionView = DKNoPermissionView()
            permissionView.addSubview(permissionView.titleLabel)
            permissionView.addSubview(permissionView.permitButton)
            
            permissionView.titleLabel.text = DKImageLocalizedString.localizedStringForKey("permissionCamera")
            permissionView.titleLabel.textColor = UIColor.whiteColor()
            permissionView.titleLabel.sizeToFit()
            
            if DKImageSystemVersionLessThan8 {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        self.view.backgroundColor = UIColor.whiteColor()
        
        self.collectionView!.backgroundColor = UIColor.whiteColor()
        self.collectionView!.allowsMultipleSelection = true
