How can I get addArrangedSubview to work in Xcode 8.3.2?

I get the error "Use of unresolved identifier 'addArrangedSubview'. I get the same error if I try addSubview.

Replies

Any luck with this yet? I'm having the same issue and can't find a resolution anywhere online. I've followed a tutorial exactly but when I add this last line of


addArrangedSubview(button)


to add the button to the stack... I get this error unresolved identifier.