SwiftUI flashScrollIndicators

Viewed 406

In UIKit we have a UIScrollView method which allows us to make the scroll indicators flash briefly to inform users there's a scrolling content on screen (which is not always obvious). Apple says:

func flashScrollIndicators()

You should call this method whenever you bring the scroll view to front.

My question is: how can I get the same on SwiftUI? Take a look at this very silly example, just to show the issue:

If you take a look at this screen you can't know if you can scroll something or not:

enter image description here

but you actually could:

enter image description here

How can I make my users aware of scrolling content on SwiftUI?

0 Answers
Related