刻舟求剑,

    CGSize timeSize = [self.timeLabel.textsizeWithFont:self.timeLabel.fontconstrainedToSize:CGSizeMake(MAXFLOAT, MAXFLOAT)];

1,        self.timeLabel.frame = CGRectMake(self.soundBtn.frame.origin.x - timeSize.width, self.timeLabel.frame.origin.y, timeSize.width, self.timeLabel.frame.size.height);

2,        self.timeLabel.frame = CGRectMake(self.soundBtn.frame.origin.x - self.timeLabel.frame.size.width, self.timeLabel.frame.origin.y, timeSize.width, self.timeLabel.frame.size.height);

刻舟求剑,

上一篇:Objective-C priority queue


下一篇:C#在outlook里创建一封邮件到草稿箱