iPhone - Create a semi transparent rectangle with opaque text

自闭症网瘾萝莉.ら 提交于 2019-11-28 09:22:15

Can be easily done with interface builder:

View Hierarchy

NOTE The background has to be a separate view which is the first entry in the list of controls, so it is in the background. Setting the container view to an alpha value below 1 will also be inherited by the subviews, which is not displayed in the interface builder

Settings for view "view with clear color bg and alpha 1.0"

Settings for view "black translucent bg view"

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!