问题
Is there a way to hide elements in storyboard interface? What I am talking about is like in Photoshop how you can hide layers while working. I ask because I have some stacked items and it would be nice to not see everything at once while working sometimes.
回答1:
While selecting your view/object, in the right panel click the 'Installed' button. Make you to reenable it when your done!
^
Make sure to select one of the views:
回答2:
I also cannot see the 'installed' checkbox (Xcode 6.4), but here is my workaround to temporarily hide a layer.
Select one of your views to 'hide' and in Utilities Pane, select Size inspector and set your X (horizontal) value to 1000 - which will slide the view off the screen, allowing you access to layers below. Don't forget to reset X value when done.
回答3:
The Installed button is visible after Xcode 6 and later, also enable "Use Auto Layout" and "Use Trait Variations".
来源:https://stackoverflow.com/questions/25213440/hide-elements-in-xcode-storyboard