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

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

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

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -