Closed kamechan8 closed 4 years ago
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), ] }
Please set GalleryDisplacedViewsDataSource
I want to present and dismiss just like this. Tell me how to set GalleryConfiguration.
My current code