I want my app to have a view that can scroll even when there isn’t always content to scroll to. For instance, the Wifi tab in settings is always scrollable. Is this a UIScrollView?
I’m using Storyboard, not SwiftUI by the way.
Thanks in advance for any suggestions!
I’ve tried using a UIScrollView but I think what I’m trying to achieve is different.
2
Answers
I think you’re looking for the
UIScrollView
‘salwaysBounceVertical
property:The Settings app is using
UITableView
in "group" mode for most screens. The little bit of scrolling you can do even when there is little content is referred to as "bounce".UIScrollView
can also be used (UITableView
extendsUIScrollView
). The bounce actually comes from the scroll view. You can enable thebounces
property.