基于iOS的APP“好妈妈”开发日志九——解决tableview cell问题
基于iOS的APP“好妈妈”开发日志九——解决tableview cell问题
点击cell后消除选中效果
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
tableView.deselectRow(at: indexPath, animated: false)//点击cell后消除选中效果
}
cell中放imageview连线出现报错
Outlets cannot be connected to repeating content
解决:
新建cell的class,将你的cell与其相关联,将连线连至cellclass中,代码写在 override func awakeFromNib() 中即可。
基本没什么问题,正在开发一些页面细节
努力奋斗!!!luhh????