Silver Challenge: Layout Guides

If you rotate into landscape, the nextQuestionLabel becomes visible. Instead of hardcoding the spacing constraint’s constant, use an instance of UILayoutGuide to space the two labels apart. This layout guide should have a width constraint equal to the ViewController’s view to ensure that the nextQuestionLabel remains offscreen when not animating.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset