             
             let pickerController = DKImagePickerController()
             pickerController.assetType = assetType
-//			pickerController.showCancelButton = true
+//			pickerController.showsCancelButton = true
+//			pickerController.showsEmptyAlbums = false
             pickerController.allowMultipleTypes = allowMultipleType
             pickerController.sourceType = sourceType
+//			pickerController.defaultAssetGroup = PHAssetCollectionSubtype.SmartAlbumFavorites
+			pickerController.defaultSelectedAssets = self.assets
             
             pickerController.didSelectAssets = { [unowned self] (assets: [DKAsset]) in
                 print("didSelectAssets")
-//                print(assets.map({ $0.url}))
 				
                 self.assets = assets
                 self.previewView?.reloadData()


import UIKit
import MediaPlayer

class ViewController: UIViewController, UITableViewDataSource, UITableViewDelegate, UICollectionViewDataSource, UICollectionViewDelegate {
    var player: MPMoviePlayerController?

			let layout = collectionView.collectionViewLayout as! UICollectionViewFlowLayout
			let tag = indexPath.row + 1
			cell.tag = tag
			asset.fetchImageWithSize(layout.itemSize.toPixel(), completeBlock: { image in
				if cell.tag == tag {
					imageView.image = image
				}
