给View1的maskView 赋值View2io
1.View2不会显示在View1上;sed
2.View2 的alpha通道会体如今View1上。channel
关于maskView,Apple的解释:view
An optional view whose alpha channel is used to mask a view’s content.vi