給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