isHidden

I learn how to code.
The guided project "Personality Quiz" of the book "App development with swift" ios11 Edition Xcode 9 troubles me.

Those lines show no effect in the simulator:

        singleStackView.isHidden = true
        multipleStackView.isHidden = true
        rangedStackView.isHidden = true

Why?

ios11 Edition Xcode 9

It seems it is an ancient old version, why don't you use the latest one?

Those lines show no effect in the simulator:

Why?

Just showing some code fragments does not make sense.
It may be called from somewhere it does not affect, or you might have something wrong in other places.

Please show enough context, what you have done till now? What is the code of your current project?
Search everywhere in your code for

singleStackView.isHidden

And see if you set it to false elsewhere.
isHidden
 
 
Q