摘要: UIImageView* baseView = [[UIImageView alloc] init]; baseView.backgroundColor = [UIColor whiteColor]; //设置卡片阴影 baseView.layer.shadowColor = RGBACOLOR(4 阅读全文
posted @ 2019-09-23 10:29 🍂浪迹天涯🍂 阅读(401) 评论(0) 推荐(0)
摘要: typedef NS_ENUM(NSInteger, GradientDirection) { GradientDirectionTopToBottom = 0, // 从上往下 渐变 GradientDirectionLeftToRight, // 从左往右 GradientDirectionBottomToTop, // 从下往上 GradientDirectionRightToLeft // 阅读全文
posted @ 2019-09-23 10:17 🍂浪迹天涯🍂 阅读(254) 评论(0) 推荐(0)