-3
有人能解釋代碼和結果有什麼問題嗎?看起來,儘管cellSetup具有黃色背景色和紅色文本顏色,但單元格的格式很奇怪(在單元格頂部有一種白色矩形 - 請參閱下面的附加圖片鏈接)。IOS Eureka單元顏色問題
+++ Section("OCCURRENCE DETAILS")
<<< TextAreaRow("occ_description") {
$0.title = ""
$0.value = "15454646"
$0.textAreaHeight = .dynamic(initialTextViewHeight: 100)
}.cellSetup { cell, row in cell.backgroundColor = .yellow; cell.tintColor = .red
}.onChange { self.occ_description = $0.value }
Attached Picture: Erroneous Cell Format