iOS/iOS SeSAC 2기 TIL

iOS swift TableViewController - tableView.rowHeight vs. heightForRowAt 메서드

Developer-Michelle 2022. 7. 19. 09:17

TableViewController - tableView.rowHeight vs. heightForRowAt 메서드

 

두 개 중에 비교했을 때, heightForRowAt 메서드가 더 우선순위

indexPath등 바뀌는 동적인 요소가 많기 때문