Swift, how to make a NSLayoutConstraint second item based on a dynamic tableView cell

前端 未结 0 1250
梦如初夏
梦如初夏 2020-12-18 04:55
lazy var topConstraint = NSLayoutConstraint(item: commentView!, attribute: .top, relatedBy: .equal, toItem: tableView.cellForRow(at: tableView.indexPathForSelectedRo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题