How to present ImageView like sample?
kamechan8 opened this issue · comments
kamechan8 commented
I want to present and dismiss just like this. Tell me how to set GalleryConfiguration.
My current code
let gv = GalleryViewController(startIndex: index!, itemsDataSource: self, itemsDelegate: self, displacedViewsDataSource: self, configuration: galleryConfiguration())
present(gv, animated: true, completion: nil)
func galleryConfiguration() -> GalleryConfiguration {
return [
.displacementTransitionStyle(.normal),
]
}
kamechan8 commented
Please set GalleryDisplacedViewsDataSource