jjzjj

cellUpdate

全部标签

ios - swift Eureka : Can't dynamically hide/show ButtonRow inside cellUpdate

这是我用于显示和隐藏行的代码。我基本上设置了Eureka常见问题解答中提到的隐藏属性。请让我知道这是否是设置隐藏属性以显示/隐藏行的正确方法。form+++Section("main")Voidinrow.tag="sampleRow"ifself.shouldHide{print("hideexampleRow")row.hidden=true}else{print("showexampleRow")row.hidden=false}}.cellSetup({[unownedself](cell,row)inrow.title="TitleExample"row.cell.tintC