Using a view with a superlayer as a layer mask

前端 未结 0 943
春和景丽
春和景丽 2021-01-30 05:59

I have a view that I want to overlay with a transparent black layer whose edges match the view exactly. The view does not clip its bounds, so subviews may be hanging off.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题