 
 import UIKit
 import Photos
+import AVFoundation
+
+// MARK: - TabNavigationImagePickerController.
 
 extension TabNavigationImagePickerController {
     public typealias ImagesResultHandler = (([UIImage]) -> Void)

    }
    
    override func collectionView(_ collectionView: UICollectionView, shouldSelectItemAt indexPath: IndexPath) -> Bool {
        let indexPaths = imagePickerController._selectedIndexPathsOfAssets.flatMap { $0.value }
        if indexPaths.count >= imagePickerController.allowedSelectionCounts {
            return false

    }
}

// MARK:  Public.

extension TabNavigationImagePickerController {
    open var shouldIncludeHiddenAssets: Bool { return false }
