From the course: iOS Development: Auto Layout Programmatically

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Challenge: Oatmeal

Challenge: Oatmeal - iOS Tutorial

From the course: iOS Development: Auto Layout Programmatically

Start my 1-month free trial

Challenge: Oatmeal

- [Instructor] You've learned a lot this chapter, it's time for you to do some work. In the sample code, you'll find OatmealViewController.swift file with partially filled out layout views. Your challenge is to finish this layout to look like this in portrait and landscape. We got the label at the top. Under the label is a square image, which is 60% of the height. The image has a two to three aspect ratio. At the bottom of the code is two buttons extending to the margins with the Order button about 2/3 larger than the Cancel button. Your challenge is to finish this layout by adding the Back button. I also added a few errors you'll need to fix. Stop the video and see if you can put together the oatmeal page. If you get stuck, go ahead and watch the next video for my solution.

Contents