Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strat with specific index #268

Open
Aizaz-Abbasi opened this issue Nov 9, 2020 · 5 comments
Open

Strat with specific index #268

Aizaz-Abbasi opened this issue Nov 9, 2020 · 5 comments

Comments

@Aizaz-Abbasi
Copy link

On click of preview button I want o start it with specific index.

@3lvis
Copy link
Collaborator

3lvis commented Nov 18, 2020

Hello @Aizaz-Abbasi, this project is in maintenance mode, meaning I'll focus on updating it for newer Swift and Xcode versions. New features and fixes will have to come from the community. Thank you.

@alexandrgl
Copy link

@Aizaz-Abbasi
It seems to me this question is the same as yours - #266

@Aizaz-Abbasi
Copy link
Author

@Aizaz-Abbasi
It seems to me this question is the same as yours - #266
I did in this way

let controller = LightboxController(images: images)
controller.goTo(4)

@jan-ekholm
Copy link

Isn't this available by simply doing:
let controller = LightboxController(images: images, startIndex: 4)

@Aizaz-Abbasi
Copy link
Author

Isn't this available by simply doing:
let controller = LightboxController(images: images, startIndex: 4)

I tried but not working fine in my scenario.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants