iOS UIView添加陰影 (UIView add shadow)
step1: add QuartzCore.framework
step2: #import <QuartzCore/QuartzCore.h> step3: use code 2.添加圆 btn.layer.cornerRadius=8; btn.layer.masksToBounds =YES;//使用边界来做遮罩 |
相关文章:
iOS UIView添加陰影 (UIView add shadow)
step1: add QuartzCore.framework
step2: #import <QuartzCore/QuartzCore.h> step3: use code 2.添加圆 btn.layer.cornerRadius=8; btn.layer.masksToBounds =YES;//使用边界来做遮罩 |
相关文章: