self.timestampLabel.layer.masksToBounds = YES; self.timestampLabel.layer.cornerRadius = 6.0f; 注:只写第二条代码有时不显示圆角 self.timestampLabel.layer.cornerRadius =……