1.custom drawRect:(any, even if you simply fill the background with color)
2.CALayer corner radius
3.CALayer shadow
4.CALayer mask
5.any custom drawing using CGContext
1.custom drawRect:(any, even if you simply fill the background with color)
2.CALayer corner radius
3.CALayer shadow
4.CALayer mask
5.any custom drawing using CGContext