Learn Courses My Dashboard

How to implement scrolling tooltip

How do you implement floating tooltip/text that floats next to your scrollbar as you scroll through a list?

I have seem this feature implemented in a number of apps, but I couldn’t figure out how it’s done after much searching through documentation and googling. Is it possible in SwiftUI? Or this is an UIKit feature?

Can someone who understands how it works point me to the right direction?


my guess is that its actually just a custom view (thats a bit opaque/transparent, also small) that you “present” when the onscroll action/gesture is being done, and dismissed when the onscroll action is finished

Thanks for the tip, I will experiment along the suggested direction.

1 Like