1,有时候想让遮罩为透明的,当maskAlpha为0的时候,事件肯定就穿透到里面的控制器上了,所以最好去改变遮罩的背景颜色[[UIColor blackColor] colorWithAlphaComponent:maskAlpha]