UITableView
-
[iPhone 프로그래밍] iOS5 에서 tableView:viewForHeaderInSection: 구현시 주의할점 !0x05 Programming/iPhone Programing 2011. 7. 22. 01:37
iOS5 로 업데이트 되면서 개발자 문서를 살펴본결과 다음과 같은 말이 쓰여있었습니다. Returning nil from the tableView:viewForHeaderInSection: method (or its footer equivalent) is no longer sufficient to hide a header. You must override tableView:heightForHeaderInSection: and return 0.0 to hide a header. 위의 말을 해석해보자면 tableView:viewForHeaderInSection: 함수에서 섹션을 감추기위해 nil 을 반환하는 것을 금지시킨것 같습니다. 반드시 tableView:heightForHeaderInSection: 를..