Lightbox icon indicating copy to clipboard operation
Lightbox copied to clipboard

Strat with specific index

Open Aizaz-Abbasi opened this issue 3 years ago • 5 comments

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

Aizaz-Abbasi avatar Nov 09 '20 07:11 Aizaz-Abbasi

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.

3lvis avatar Nov 18 '20 19:11 3lvis

@Aizaz-Abbasi It seems to me this question is the same as yours - https://github.com/hyperoslo/Lightbox/issues/266

alexandrgl avatar Nov 30 '20 18:11 alexandrgl

@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)

Aizaz-Abbasi avatar Dec 01 '20 05:12 Aizaz-Abbasi

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

jan-ekholm avatar Jan 03 '21 21:01 jan-ekholm

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

I tried but not working fine in my scenario.

Aizaz-Abbasi avatar Jan 06 '21 12:01 Aizaz-Abbasi