Use TLPhotosPicker configuration presets
masterFor common use cases, TLPhotosPickerConfigure provides several built-in presets that you can apply directly to your view controller's configure property:
.singlePhoto: Configures the picker for selecting only one photo..videoOnly: Configures the picker to allow only video recording/selection..compactGrid: Configures an Instagram-style compact grid layout.
// Single photo selection with a custom color
viewController.configure = .singlePhoto
.selectedColor(.systemPurple)
// Video only configuration
viewController.configure = .videoOnly
.numberOfColumns(3)
.allowPhotograph(false)
.allowVideoRecording(true)
// Compact grid configuration
viewController.configure = .compactGrid
.maxSelection(10)
.selectedColor(.systemBlue)