In this video tutorial, you'll get started with your first scroll view!
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/3911-scroll-view-school/lessons/3
In this video tutorial, you'll get started with your first scroll view!
Hi,
as of Swift 2.x you’ll need to use:
scrollView.autoresizingMask = [.FlexibleWidth, .FlexibleHeight]
instead of:
scrollView.autoresizingMask = .FlexibleWidth | .FlexibleHeight
Hi,
as of Swift 3.x you’ll need to use:
scrollView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
instead of:
scrollView.autoresizingMask = [.FlexibleWidth, .FlexibleHeight]