Gold Challenge - use auto layout only?

Are you meant todo this just using the auto layout controls ?

Or are you expected todo it programmatically etc ?

Thanks

Setting up constraints programmatically isn’t discussed until Chapter 5, so I don’t think that’s what they had in mind here, but you can do it that way if you want to.

Using auto-layout in Interface Builder, not programmatically. It’s actually a bit harder than it appears at first, at least it took me a while to figure it out.

Thanks, will continue to look with auto layout.

1 Like