iOS 圆环进度指示器 XLCircleProgress

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u013282507/article/details/54098206

一、实现效果

二、使用方法

    CGFloat circleWidth = self.view.bounds.size.width;
    _circle = [[XLCircleProgress alloc] initWithFrame:CGRectMake(0, 0, circleWidth, circleWidth)];
    _circle.center = self.view.center;
    [self.view addSubview:_circle];

三、实现原理

请参考我的另一篇博文:

iOS UIBezierPath 通过贝塞尔曲线画圆环 创建一个环形进度指示器

Demo下载

猜你喜欢

转载自blog.csdn.net/u013282507/article/details/54098206