- 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加底线
最新推荐文章于 2025-04-09 14:32:03 发布