How can I hide/remove ScrollBar in ScrollView in SwiftUI?

If the content of the ScrollView is bigger than the screen, while scrolling, the scrollbar on the side appears. I couldn't find anything to help me hide it.


You can use showsIndicators: false to hide the indicator:

ScrollView(showsIndicators: false) {
    // ...
}