func configureView(year: Int, month: Int) { self.year = year self.month = month var yearLabel = UILabel() var monthLabel = UILabel() yearLabel.text = String(year ?? 0) monthLabel.text = String(month ?? 0) yearLabel.backgroundColor = UIColor.red self.addSubview(yearLabel) self.addSubview(monthLabel) } 이런식으로 뷰를 추가하여도 안보일때가 있다. var yearLabel = UILabel(frame: CGRect(x: 0, y: 0, width: 100, height: 5..