CollectionViewPagingLayout icon indicating copy to clipboard operation
CollectionViewPagingLayout copied to clipboard

Using ScrollViewReader

Open daver234 opened this issue 2 years ago • 0 comments

Hi,

I'm trying to user ScrollViewReader to a ScalePageView. The ScalePageView has an array of images

I have a standard iOS horizontal scroll view with icons. I would like to sync the the tap on the icon to the to the ScalePageView image. So that if the user taps icon 3, image 3 in ScalePageView gets tapped. I can do this if the images are also a ScrollView as it supports ScrollViewReader. But how to I sync the ScalePageView with the tap in the icon horizontal scroll view? And likewise, tapping an image in ScalePageView needs to cause the icon view to scroll to that tapped location.

Thanks.

daver234 avatar Aug 07 '22 22:08 daver234