             views:views))
         addConstraints(NSLayoutConstraint.constraints(
             withVisualFormat:"H:|-0-[visualEffect]-0-|",
-            options:[],
-            metrics:metrics,
-            views:views))
-        addConstraints(NSLayoutConstraint.constraints(
-            withVisualFormat:"H:|-0-[statusBar]-0-|",
-            options:[],
-            metrics:metrics,
-            views:views))
-        addConstraints(NSLayoutConstraint.constraints(
-            withVisualFormat:"V:|-0-[statusBar(20)]",
             options:[],
             metrics:metrics,
             views:views))

            for:UIControlEvents.touchUpInside)
        
        addSubview(visualEffect)
        addSubview(statusBar)
        addSubview(buttonCancel)

        let views:[String:UIView] = [
            "buttonCancel":buttonCancel,
            "visualEffect":visualEffect,
            "statusBar":statusBar]
        
        let metrics:[String:CGFloat] = [
            "buttonCancelWidth":kButtonCancelWidth]

        translatesAutoresizingMaskIntoConstraints = false
        self.controller = controller
        
        let blurEffect:UIBlurEffect = UIBlurEffect(style:UIBlurEffectStyle.light)
        let visualEffect:UIVisualEffectView = UIVisualEffectView(effect:blurEffect)
        visualEffect.translatesAutoresizingMaskIntoConstraints = false
        visualEffect.isUserInteractionEnabled = false
        visualEffect.clipsToBounds = true
        
//        let vibrancyEffect:UIVibrancyEffect
//        UIVisualEffectView(effect: UIVibrancyEffect)
        
        let flow:UICollectionViewFlowLayout = UICollectionViewFlowLayout()
        
