简体   繁体   中英

Finding a missing UIView in xib file

In one of my xib files, I have a UIView as part of a view controller. Only problem is that I can no longer find it on the xib after moving the view to use size classes and applying constraints. The view has an outlet defined, but can't be located in any of the size definitions.

The view exists (it can be seen on the menu if you drill down the into the VC), but can't be selected for editing.

Is there a way to make this view re-appear?

If you can find it in the xib/storyboard menu, select it there. Then open the Size Inspector (option-command-5) and change view's x,y location to somewhere you will be able to see it (ie 0,0).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM