Kodeco Forums

Video Tutorial: Swift Scroll View School Part 3: Zooming

In this video tutorial, you'll learn how to zoom content within a scroll view.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/3911-scroll-view-school/lessons/4

where i use auto layout,here should be viewDidLayoutSubviews CALL setZoomParamtersForSize()

Please don’t use such disturbing images… Sorry but couldn’t resist myself to write this feedback as i really enjoy watching and learning from your tutorials, but getting a yeck feeling while watching this tutorial.

I follow the exact code in the video. However, I got scrollView.size.width = 0, and scrollView.size.height = 0.
Why?