Open iad24 opened 6 years ago
let galleryVC = GalleryViewController(startIndex: 0, itemsDataSource: nil, itemsDelegate: nil, displacedViewsDataSource: nil, configuration: galleryConfiguration())
presentImageGallery(galleryVC)
private func galleryConfiguration() -> GalleryConfiguration {
return [.swipeToDismissMode(.never)]
}
Im using v4.1.0.
Possible to disable the horizontal scroll bounce? Im actually using this as an image viewer for a single photo. It means that there will be always 1 photo that i will be feeding to GalleryViewController.
Possible to disable the swiping up and down to dismiss?