通过xib同样可以让UIView背景透明

在xib的控件的background选择other

把opacity 拖到最左边,也就是为0%,成功了,透明了!

原文地址:https://www.cnblogs.com/superchao8/p/2654118.html