In swift this is easy to do, but in SwiftUI didn't found any solution
init() {
UIScrollView.appearance().bounces = false
}
But it will change the global bouncing preferences, my requirement is to disable the top bouncing in only specific view.
In swift this is easy to do, but in SwiftUI didn't found any solution
init() {
UIScrollView.appearance().bounces = false
}
But it will change the global bouncing preferences, my requirement is to disable the top bouncing in only specific view.