add 题目
This commit is contained in:
@@ -52,6 +52,12 @@
|
||||
_isMoving = NO;
|
||||
self.countLabel.frame = CGRectMake(_lineWidth, self.frame.size.height /2 - 15 , self.frame.size.width - _lineWidth*2, 30);
|
||||
[self addSubview:self.countLabel];
|
||||
UILabel *minlabel = [[UILabel alloc] init];
|
||||
minlabel.frame = CGRectMake(CGRectGetMidX(self.countLabel.frame) - (18/2) , CGRectGetMaxY(self.countLabel.frame) + 8, 18, 14);
|
||||
minlabel.text = @"min";
|
||||
minlabel.textColor = [UIColor whiteColor];
|
||||
minlabel.font = [UIFont fontWithName:GIGA_FONTNAME size:10];
|
||||
[self addSubview:minlabel];
|
||||
|
||||
}
|
||||
|
||||
@@ -204,8 +210,7 @@
|
||||
|
||||
self.countLabel.text = [NSString stringWithFormat:@"%02ld:%02ld",minute,second];
|
||||
if (hour == 0 && minute == 0 && second == 0) {
|
||||
//面膜结束
|
||||
//[self maskTimeEnd];
|
||||
|
||||
[self.timer destoryTimer];
|
||||
[self.playTimer invalidate];
|
||||
self.playTimer = nil;
|
||||
|
||||
Reference in New Issue
Block a user