- CALayer *bottomBorder = [CALayer layer];
- float height1=view.frame.size.height-0.5f;
- float width1=view.frame.size.width;
- bottomBorder.frame = CGRectMake(0.0f, height1, width1, 0.5f);
- bottomBorder.backgroundColor = [UIColor blackColor].CGColor;
- [view.layer addSublayer:bottomBorder];
view加底线
最新推荐文章于 2024-08-14 12:42:26 发布