【问题标题】:Color behind rounded corners iOSiOS 圆角后面的颜色
【发布时间】:2018-08-13 06:04:24
【问题描述】:

Color of behind rounded corners

如何更改 UIImageView 圆角后面显示的颜色?

提前谢谢你。

【问题讨论】:

  • 源图像的角是否具有透明度,或者您是否通过在图像视图的图层上设置cornerRadius来创建圆形?你想让角落显示图像视图后面的图层吗?你到底想要什么?

标签: ios swift rounded-corners


【解决方案1】:

设置UIImageViewbackgroundColor

【讨论】:

    猜你喜欢
    • 2019-06-03
    • 2020-03-27
    • 2012-10-26
    • 2013-11-03
    • 1970-01-01
    • 2013-04-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多