当要背景颜色透明的时候,alpha导致subView也透明的解决方法
1、 xib中的backgroundColor中选others 里面有个opacity,用这个设置透明程度,不用alpha
2、代码:backgroundColor = [uicolor colorwithRed:xx green:xx blue:xx alpha:xx];