     
     private let pickerContainer: UIView = {
         let v = UIView(frame: CGRect(x: 0, y: screenSize.height, width: screenSize.width, height: pickerHeight))
-        v.backgroundColor = UIColor.whiteColor()
+        v.backgroundColor = ImagePickerViewController.bgColor
         v.layer.shadowRadius = 2
         v.layer.shadowOpacity = 0.1
         v.layer.shadowColor = UIColor.blackColor().CGColor

    
    override init(frame: CGRect) {
        super.init(frame: frame)
        backgroundColor = UIColor.whiteColor()
        imageView.contentMode = .ScaleAspectFit
        
        imageView.translatesAutoresizingMaskIntoConstraints = false

            self.backgroundView.alpha = 0
            self.pickerContainer.transform = CGAffineTransformIdentity
            }) { _ in
                self.dismissViewControllerAnimated(false, completion: nil)
                self.pickerContainer.removeFromSuperview()
                self.backgroundView.removeFromSuperview()
        }
