func setScrollView() { let contentWidth = topPlayersTableView.layer.frame.width + 20 scrollView.contentSize = CGSize(width: contentWidth, height: scrollView.frame.height) scrollView.isPagingEnabled = true }
func setScrollView() { let contentWidth = topPlayersTableView.layer.frame.width + 20 scrollView.contentSize = CGSize(width: contentWidth, height: scrollView.frame.height) scrollView.isPagingEnabled = true }