Question : swift scrollview hide scrollbar
Answered by : aris-g
scrollView.showsHorizontalScrollIndicator = false
scrollView.showsVerticalScrollIndicator = false
Source : https://stackoverflow.com/questions/9837003/how-to-hide-remove-the-scrollbar-in-uiscrollview-in-iphone | Last Update : Thu, 18 Jun 20
Question : swiftui scrollview
Answered by : tony-sacco
ScrollView(.vertical) { // <-- or ScrollView(.horizontal) VStack(spacing: 20) { ForEach(0..<20) { Text("Row \($0)") } }
}
Source : https://developer.apple.com/documentation/swiftui/scrollview | Last Update : Sun, 24 Apr 22
Question : swift collectionview scrolltoitem
Answered by : mobile-star
self.collectionView.scrollToItem(at:IndexPath(item: indexNumber, section: sectionNumber), at: .right, animated: false)
Source : | Last Update : Wed, 01 Apr 20