Note that there are some explanatory texts on larger screens.

plurals
  1. POIOS Using group opacity control
    primarykey
    data
    text
    <p>I have a scroll view, containing a view into which I place paired background color imageviews and image imageviews. I use this to present a simple scroll for my users to select an image to transfer to a main imageview display. </p> <p>I have the scrollview background color set to light grey, alpha 0,5, the view set to clearcolor, alpha 1, opaque=true, the background color image set to either black or white, alpha 1, opaque = true and the image is set to alpha 1, opaque=true.</p> <p>The issue I have is that within the app-info.plist, I have added "Renders with group opacity", however regardless of the setting (yes or no), the background and image inherit the opacity of the scrollview.</p> <p><img src="https://i.stack.imgur.com/8WPrN.png" alt="opacity inheritence"></p> <p>In this image, you can see the main image in the background. The light grey area is the scrollview, opaque = true, background = light grey, alpha=0,9 On top is the UIView, opaque=true, background = clear, alpha =1 The dark area around the first thumb is my active image indicator, opaque = true, background = dark grey, alpha =1 The white area (not visible) around the other thumbs is my notactive indicator, opaque=true, background = white, alpha =1 The imageview containing the thumbs is opaque =true, background white, alpha =1</p> <p>However, you can see the background image through the thumbs. I wish the thumbs to be fully opaque and the grey to be alpha 0,5. This current setting of 0,9 is being used simply because this is the best I can make it.</p> <p>This image is taken with the group opacity set to no, however the image is identical with group opacity set to yes.</p> <p>I have seen this done elsewhere on other apps, however apart from a simple statement about what this parameters does,I cannot find simple instructions on how to implement this, as how I am doing must surely be wrong.</p> <p>Any advice is welcome.</p> <p>Regards Chris H</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload