Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swift stack view scrollable

override func viewDidLayoutSubviews() {
    super.viewDidLayoutSubviews()
    scrollView.contentSize = CGSize(width: stackView.frame.width, height: stackView.frame.height)       
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #swift #stack #view #scrollable
ADD COMMENT
Topic
Name
7+5 =