Why does Interface Builder show hidden views through the views above them?


When nesting views in Interface Builder, if I have an opaque view with hidden views beneath it in the view Hierarchy, the hidden views are visible through the higher view and are just partially translucent like the below picture.

Why does this happen and can I make it stop? It's very annoying.

To be clear this is strictly in IB. At run time the views are displayed correctly.

<img alt="enter image description here" class="b-lazy" data-src="https://i.stack.imgur.com/yMflt.png" data-original="https://i.stack.imgur.com/yMflt.png" src="https://etrip.eimg.top/images/2019/05/07/timg.gif" />


Sad to see this is the best answer that I have found so far: If you set the view you want to work as NOT hidden, while all the rest ARE hidden, then you can select away from the storyboard (e.g. some other file), then click back on the storyboard. Only the NON-hidden views are displayed. Sadly, the other views comeback if you make position alterations to the view (<strong>UPDATE</strong>: only when you click and drag. Selecting and using arrow keys does not), but changing text, size, color etc do not.

Original with hidden <a href="https://i.stack.imgur.com/efTUh.png" rel="nofollow"><img alt="Original with hidden" class="b-lazy" data-src="https://i.stack.imgur.com/efTUh.png" data-original="https://i.stack.imgur.com/efTUh.png" src="https://etrip.eimg.top/images/2019/05/07/timg.gif" /></a>

Clicked off storyboard and back <a href="https://i.stack.imgur.com/UZ9QC.png" rel="nofollow"><img alt="Clicked off storyboard and back" class="b-lazy" data-src="https://i.stack.imgur.com/UZ9QC.png" data-original="https://i.stack.imgur.com/UZ9QC.png" src="https://etrip.eimg.top/images/2019/05/07/timg.gif" /></a>


  • How to create a transparent demo on Android?
  • making the background translucent
  • Why is my UITableView cut off in iOS 7?
  • (2 - 4 = -1) when int value assigned to pointer in C?
  • Postback using javascript
  • iOS two views cover exactly half of parent view
  • Why is new Number(8) not exactly equal to 8?
  • Eclipse dark color theme fixes
  • mCamera.setpreview{@override onPreviewFrame() } not work
  • UIPickerView without IB?
  • write text on image and show it to a imageview
  • css background images not always displayed
  • Certain Arabic text gets incorrectly shown while other Arabic text gets showed normally?
  • Mercurial: Identify file name after rename
  • How to change placeholder text in an autocomplete activity of android google place?
  • You tube videos are not playing
  • How can I tell a form not to dispose a particular control when it closes?
  • How to make R's read_csv2() recognise the text characters properly
  • SonarQube: Cannot deactivate rule with missing quality profile
  • Multicolored edittext hint
  • Redux Form - Not able to type anything in input
  • Jenkins: FATAL: Could not initialize class hudson.util.ProcessTree$UnixReflection
  • Assign variable to the value in HTML
  • Date Conversion from yyyy-mm-dd to dd-mm-yyyy
  • How can I sort a a table with VBA with given text condition?
  • AJAX Html Editor Extender upload image appearing blank
  • How to use carriage return with multiple line?
  • All Classes Conforming to Protocol Inherit Default Implementation
  • CSS Linear-gradient formatting issue accross different browsers
  • Window Size for Mac application
  • DirectX11 ClearRenderTargetViewback with transparent buffer?
  • Does CUDA 5 support STL or THRUST inside the device code?
  • Perl system calls when running as another user using sudo
  • Trying to switch camera back to front but getting exception
  • using conditional logic : check if record exists; if it does, update it, if not, create it
  • -fvisibility=hidden not passed by compiler for Debug builds
  • Setting background image for body element in xhtml (for different monitors and resolutions)
  • Can Visual Studio XAML designer handle font family names with spaces as a resource?
  • How can I remove ASP.NET Designer.cs files?
  • Are Kotlin's Float, Int etc optimised to built-in types in the JVM? [duplicate]