【发布时间】:2020-08-06 18:08:38
【问题描述】:
我无法在 iOS 14 中设置页面控制点的边框颜色。以下代码适用于 iOS
for (int i = 0; i < [self.subViews count]; i++) {
UIView *dot = [self.subViews objectAtIndex:i];
dot.layer.borderWidth = 1;
dot.layer.borderColor = [UIColor blueColor].CGColor;
}
UIPageControl 色调颜色清晰。我只想添加边框。需要在 Obj-C 中解决这个问题。
【问题讨论】:
标签: ios objective-c