當要背景顏色透明的時候,alpha導致subview也透明瞭解決方法
(相當於改變uicolor的透明屬性)
1.xib中的background color 選others 裏面有個opacity
2.代碼:backgroundColor = [uicolor colorwithRed:xx green:xx blue:xx alpha:xx];
當要背景顏色透明的時候,alpha導致subview也透明瞭解決方法
(相當於改變uicolor的透明屬性)
1.xib中的background color 選others 裏面有個opacity
2.代碼:backgroundColor = [uicolor colorwithRed:xx green:xx blue:xx alpha:xx];