hyperoslo/Lightbox

Scroll to page

glennposadas opened this issue · 2 comments

First off, thanks for this library. Is it possible to scroll to a specific page? Especially when presenting the Lightbox controller? Thanks!

You can set start index:
LightboxController(images: images, startIndex: selectedIndex)

Or use this method of LightboxController:
func goTo(_ page: Int, animated: Bool = true)

Super cool! thanks! I DID NOT see these!