ios 图片添加阴影
生活随笔
收集整理的這篇文章主要介紹了
ios 图片添加阴影
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
2019獨角獸企業重金招聘Python工程師標準>>>
UIimageView *imageView = [[UIImageView alloc ] init];
imageView.layer.shadowColor = [UIColor blackColor].CGColor;
imageView.layer.shadowOffset = CGSizeMake(3,2);
imageView.layer.shadowOpacity = 0.6;
imageView.layer.shadowRadius = 1.0;
imageView.clipsToBounds = NO;
轉載于:https://my.oschina.net/u/566401/blog/67529
總結
以上是生活随笔為你收集整理的ios 图片添加阴影的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Linux文件查找命令find,xarg
- 下一篇: [ mongoDB ] - mongoD