You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can not be very easy to control whether to display the percent sign, your project is not through the control switch, you may be able to add a bool attributes to control, I tried, realize, and convenient.
You may see this:
Add:
MDRadialProgressView.h
// 控制是否显示显示百分号
// whether or not
@property(nonatomic,assign) BOOL isShowPercentMark;
"MDRadialProgressView.m"
if (self.isShowPercentMark == YES) {
text = [NSString stringWithFormat:@"%.0f%%", percentageCompleted];
}else if (self.isShowPercentMark == NO){
text = [NSString stringWithFormat:@"%.0f", percentageCompleted];
}
The text was updated successfully, but these errors were encountered:
Can not be very easy to control whether to display the percent sign, your project is not through the control switch, you may be able to add a bool attributes to control, I tried, realize, and convenient.
You may see this:
Add:
The text was updated successfully, but these errors were encountered: