 
     var imageTagTextAttributes: [String: Any]? = nil
     var selectedImageOverlayColor: UIColor? = nil
-    let allowedSelections: ImagePickerSelection? = .limit(to: 4)
+    let allowedSelections: ImagePickerSelection? = .limit(to: selectionsLimit)
 
     // MARK: -
 

            )

            let subtitle = NSAttributedString(
                string: "You can choose up to 4 photos for your listing.\n",
                attributes: [
                    NSFontAttributeName: UIFont.systemFont(ofSize: 12),
                    NSForegroundColorAttributeName: UIColor.darkGray,

import UIKit
import Pickle
import Photos

private let selectionsLimit: Int = 4

internal class CarousellImagePickerController: ImagePickerController {

