UIProgressView 详解

1 UIProgressView *pv = [[UIProgressView alloc] init];     // 进度条初始化
2     
3 pv.progressViewStyle = UIProgressViewStyleDefault;      // 蓝色样式
4 pv.progressViewStyle = UIProgressViewStyleBar;          // 白色进度条,主要用于工具条
5 pv.progress = 0.5;          // 设置当前进度
原文地址:https://www.cnblogs.com/sell/p/2907311.html