File tree 2 files changed +3
-8
lines changed
PlayerDemo.xcworkspace/xcuserdata/zhengwenming.xcuserdatad
2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ -(void)initWMPlayer{
235
235
236
236
[self .progressSlider setThumbImage: WMPlayerImage (@" dot" ) forState: UIControlStateNormal];
237
237
self.progressSlider .minimumTrackTintColor = [UIColor greenColor ];
238
- self.progressSlider .maximumTrackTintColor = [UIColor whiteColor ];
238
+ self.progressSlider .maximumTrackTintColor = [UIColor colorWithRed: 0.5 green: 0.5 blue: 0.5 alpha: 0.5 ];
239
239
240
240
self.progressSlider .value = 0.0 ;// 指定初始值
241
241
// 进度条的拖拽事件
@@ -258,18 +258,13 @@ -(void)initWMPlayer{
258
258
}];
259
259
260
260
261
-
262
-
263
-
264
261
self.loadingProgress = [[UIProgressView alloc ] initWithProgressViewStyle: UIProgressViewStyleDefault];
265
- self.loadingProgress .progressTintColor = [UIColor clearColor ];
266
- self.loadingProgress .trackTintColor = [UIColor lightGrayColor ];
262
+ self.loadingProgress .progressTintColor = [UIColor colorWithRed: 1 green: 1 blue: 1 alpha: 0.5 ];
263
+ self.loadingProgress .trackTintColor = [UIColor clearColor ];
267
264
[self .bottomView addSubview: self .loadingProgress];
268
265
[self .loadingProgress setProgress: 0.0 animated: NO ];
269
266
270
267
271
-
272
-
273
268
[self .loadingProgress mas_makeConstraints: ^(MASConstraintMaker *make) {
274
269
make.left .equalTo (self.bottomView ).with .offset (45 );
275
270
make.right .equalTo (self.bottomView ).with .offset (-45 );
You can’t perform that action at this time.
0 commit comments