From the course: iOS 14 Development Essential Training

Unlock the full course today

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

Solution: SwiftUI

Solution: SwiftUI

From the course: iOS 14 Development Essential Training

Start my 1-month free trial

Solution: SwiftUI

(upbeat music) - [Instructor] Here is the solution to the challenge and remember my solution might be different from yours. I'm going to start by just deleting the image in the Hstack right here. You can see that it's gone now and then I'm going to wrap my text object in an Hstack. So put the opening curly brace there and then the closing one below the text and then indent everything with tab and then I want to put an image on the left of the text so I need to add it above the text in the code. So image open up the parentheses and then find system name and we'll give this a name, game controller dot fill and there it is and instead of modifying it in the code like we've done before, I'm going to show you a different possible way that you can use to modify Swift UI objects and that's using the utility area. So if I expand that on the right just expanded a little bit. So I'm dragging it…

Contents