Mudriy Ilya
Mudriy Ilya

Reputation: 132

Xcode hide items in storyboard

Why my Xcode hide items (UIImageView, Label etc.) in storyboard? You can see on this picture, my labels are transparent in Document Outline. And there are hidden on my Table View Controller.

hidden labels

Upvotes: 0

Views: 3047

Answers (2)

Rob Baghai
Rob Baghai

Reputation: 86

If you remove all of your constraints on this view controller are they still not visible? More importantly, can you see anything at run time? Setting the values of these labels and images in cellForRowAtIndexPath is important. Also for some reason it seem you put an extra UIView named content view in the cell though that should not be the reason for your issues

Upvotes: 0

Michaël Azevedo
Michaël Azevedo

Reputation: 3896

There is a lot of possible answers:

  • Hidden views (Verify in the attribute inspector)

  • Views uninstalled for this size class (you can check it at the bottom of the attribute inspector)

  • Frame outside of the visible bounds of the superview. In order to verify this easily, go to Size inspector and set the X and Y value to 0.

You should check all these possibilities.

Upvotes: 4

Related Questions