I have a segmented controller that I have programed and it works and all, but there is one problem. When the app first launches it has all of the items (even the ones I have programmed to be hidden). See pictures below.
When I first run my app, it looks like this.

I click the segmented controller to switch to the other view and this happens

Then I click back to the original and they are hidden they way they are supposed to be.

How do I get it so that when I launch the app it appears like the last two pictures instead of some of all of it being un-hidden?
Make sure the “A” in [A setHidden:YES] is not nil