uiview - Swift colorWithAlphaComponent() not working -


hi using simple view draw path semi transparent yellow color not working.

let tyellow = uicolor.yellowcolor().colorwithalphacomponent(0.5) 

hi there view has property called

var opaque = true 

you must set false see transparency @ uiview


Comments

Popular posts from this blog

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

json - Zend error Connection -

javascript - Trigger mouseenter when an animated element touches mouse -