Scroll View and Table View - View Controller LifeCycle Update

3 important questions on Scroll View and Table View - View Controller LifeCycle Update

Are your bounds set when viewDidLoad is called?

NO! remember this!

Are your bounds set when viewWillAppear is called when you use auto layout?

NO!

In wich method self.bounds IS set?

viewDidLayoutSubviews

The question on the page originate from the summary of the following study material:

  • A unique study and practice tool
  • Never study anything twice again
  • Get the grades you hope for
  • 100% sure, 100% understanding
Remember faster, study better. Scientifically proven.
Trustpilot Logo