I'm developing an application in SwiftUI. I have a horizontal scroll view which shows the scroll bar when the user taps on it. As this app is targeted more towards older users, I want to continually display the scrollbar. I couldn't find anything in the Apple documentation on how to enable this. There's an attribute called showIndicators which is true by default and enables the scrollbar by tapping but doesn't continually display the scrollbar. This is a simple code snippet of my ScrollView:
var body: some View {
ScrollView(.horizontal) {
HStack(spacing: 4) {
// other stuff in the scroll view
}
}