UIScrollView not showing scroll indicator

后端 未结 8 1303
借酒劲吻你
借酒劲吻你 2020-12-24 12:40

I have a UIScrollView which I create and size dynamically using...

scrollView.contentSize = CGSizeMake(scrollView.frame.size.width , length);
8条回答
  •  情歌与酒
    2020-12-24 13:02

    It will also happen (at least in the case of a UITableView) if the contentSize is too small for the table view to scroll. If you have enabled bouncing, then the tableview does not actually scroll and does not display the indicators therefore. Try fitting more content inside.

提交回复
热议问题