07 2017 档案

摘要:项目中用到地图设置渐变色,查找资料找到两种方法:一种设置颜色,一种设置透明度; //为颜色设置渐变效果: UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 40, 40)]; CAGradientLayer *gradient 阅读全文
posted @ 2017-07-17 17:04 弋小木 阅读(5629) 评论(0) 推荐(0) 编辑