// // RQExerciseExamAlertHudView.m // jiaPei // // Created by 张嵘 on 2022/7/21. // Copyright © 2022 JCZ. All rights reserved. // #import "RQExerciseExamAlertHudView.h" @interface RQExerciseExamAlertHudView () @property (weak, nonatomic) IBOutlet UIView *coverView; @end @implementation RQExerciseExamAlertHudView + (instancetype)exerciseExamAlertHudView { return [self rq_viewFromXib]; } - (void)awakeFromNib { [super awakeFromNib]; CGFloat width = (RQ_SCREEN_WIDTH - 80.f) * (132.f / 290.f); _myProgressView.size = CGSizeMake(width, width); _myProgressView.shape = QMUIPieProgressViewShapeRing; _coverView.layer.cornerRadius = (width - 6.f) / 2.f; } @end