You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@hugocroch just set dummyCount to 1, so it doesn't scroll through several screens (with animation) once you try to select an item.
And call selectItem(at:animated:scrollPosition:) with proper indexPath.
Usually you store your data and selected index in some kind of data object or model in case of mvc.
But to fulfill example from this repo for Pattern1ViewController, next code will do the trick:
Hello,
I am trying to find a way to scroll to the next item programatically. Is there something that I can use to achieve this?
Thanks
The text was updated successfully, but these errors were encountered: