     private var hidesCamera: Bool = false
 	
 	internal var collectionView: UICollectionView!
-    static var backgroundCollectionViewColor: UIColor! = UIColor.whiteColor()
 	private var footerView: UIView?
 	
 	private var currentViewSize: CGSize!

		
		return options
	}()
    
    override func viewDidLoad() {
        super.viewDidLoad()
		let background = DKAssetGroupDetailVC.backgroundCollectionViewColor
		let layout = self.imagePickerController.UIDelegate.layoutForImagePickerController(self.imagePickerController).init()
		self.collectionView = UICollectionView(frame: CGRectZero, collectionViewLayout: layout)
        self.collectionView.backgroundColor = background
        self.collectionView.allowsMultipleSelection = true
		self.collectionView.delegate = self
		self.collectionView.dataSource = self
        self.collectionView.registerClass(DKImageCameraCell.self, forCellWithReuseIdentifier: DKImageCameraIdentifier)

    
    func collectionView(collectionView: UICollectionView, didSelectItemAtIndexPath indexPath: NSIndexPath) {
		let selectedAsset = (collectionView.cellForItemAtIndexPath(indexPath) as? DKAssetCell)?.asset
        var cell = collectionView.cellForItemAtIndexPath(indexPath) as! DKAssetCell
		self.imagePickerController.selectedImage(selectedAsset!)
    }
    
    func collectionView(collectionView: UICollectionView, didDeselectItemAtIndexPath indexPath: NSIndexPath) {
        if self.imagePickerController.singleSelect {
                return
        }

		if let removedAsset = (collectionView.cellForItemAtIndexPath(indexPath) as? DKAssetCell)?.asset {
			let removedIndex = self.imagePickerController.selectedAssets.indexOf(removedAsset)!
			
