Ambiguous reference to member 'tableView'

后端 未结 3 1749
攒了一身酷
攒了一身酷 2020-12-06 11:22

Code and errors Continued on the code and one more errors!

Hi, I\'m new to Xcode swift. I have been doing good so far except trying to follow someone tutorial from 8

3条回答
  •  心在旅途
    2020-12-06 11:51

    Here it is in Swift 4

    let iPath = NSIndexPath(row: self.TableView.numberOfRows(inSection: 0)-1,
                            section: self.messageTableView.numberOfSections-1)
    
    self.TableView.scrollToRow(at: iPath as IndexPath,
                               at: UITableViewScrollPosition.bottom,
                               animated: true)
    

提交回复
热议问题