0

I am currently working through the 'App development with swift' book and am trying to do the 'Apple pie' project. I have been following directions and after doing (What I think) are the same things the book tells me to do, I am getting errors. So I'm hoping someone can explain to me why the errors below are appearing.

Project before adding label to bottom of vertical stack view:

Project before adding label to bottom of vertical stack view

Project after adding label to bottom of vertical stack view:

Project after adding label to bottom of vertical stack view

Errors received:

Errors received

vacawama
  • 150,663
  • 30
  • 266
  • 294
serp002
  • 5
  • 3

1 Answers1

0

Try setting the height on the label to 60 and that Alignment 'Centre' is selected in the attributes inspector.

Also make sure the parent StackView is on Alignment: Fill, Distribution: Fill.

rbaldwin
  • 4,581
  • 27
  • 38
  • Jeez..thank you. Feel like an idiot, I was so sure it was in there for some reason. Appreciate it. – serp002 Apr 28 '18 at 13:49