2013-06-13 3 views

답변

15
[view setBackgroundColor:[[UIColor clearColor] colorWithAlphaComponent:0.5]]; 

//try this.. dont try to set alpha of UIView and also your subviews will not affect 
+0

) 고맙습니다 !!! – Romowski

0
myView.layer.shouldRasterize = YES 

이렇게하면 group opacity을 사용하게되며 예상대로 합성해야합니다.

+0

이것은 작동하지 않습니다. ( – Romowski

관련 문제