- 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加底线
iOS视图底部边框绘制
最新推荐文章于 2025-12-03 17:42:13 发布
34

被折叠的 条评论
为什么被折叠?



