Daily iOS
UIKitTencent

Table view call order

In a UITableView that doesn't use estimatedRowHeight, what's the correct order these four methods are called in right after reloadData()?

  • numberOfSections(in:)
  • tableView(_:numberOfRowsInSection:)
  • tableView(_:heightForRowAt:)
  • tableView(_:cellForRowAt:)

Pick one

Submit