uias / Tabman

™️ A powerful paging view controller with interactive indicator bars
https://uias.github.io/Tabman
MIT License
2.84k stars 235 forks source link

It is possible set current page (selectedIndex ) programmatically? #599

Closed maestrovsmaster closed 1 year ago

maestrovsmaster commented 2 years ago

New Issue Checklist

Issue Description

Other useful things

sugitatestblue commented 2 years ago

Yes it is possible with PageBoy. let yourIndex = 1 // you index scrollToPage(.at(index: yourIndex, animated: false)