使用十分方便的进度显示控件。
pod search GJProgressView
pod 'GJProgressView', '~> 1.0.0'
调用方法十分简单:
GJProgressView *progressView = [[GJProgressView alloc] initWithFrame:CGRectMake((self.view.frame.size.width/2) - 25, 100, 50, 50)];
progressView.strokelineWidth = 5;
[progressView circleWithProgress:67 andIsAnimate:YES];
[self.view addSubview:progressView];
最后,请大家不忘给个星。