간단한건데, 삽질을 -_-;
UITableView actually is a child of UIScrollView.
UITableView는 UIScrollView의 자식이다. 그러므로, TableView의 컨텐츠 위치를 초기화 하면, 스크롤도 같이 초기화 된다는 이야기.
[tableViewName setContentOffset:CGPointMake(0, 0) animated:NO];
참고>
http://discussions.apple.com/thread.jspa?messageID=7741747
'mobile > ios' 카테고리의 다른 글
| Developing for iPhone OS 4 beta 4 (0) | 2010/05/19 |
|---|---|
| [iPhone] UITextField 키보드 return 누를때 이벤트 받는법 (0) | 2010/05/18 |
| [iPhone] UITableView Scroll 위치 초기화 하기. (0) | 2010/05/17 |
| [iPhone] 각 나라별 Application 순위를 보여주는 곳 (0) | 2010/05/06 |
| [iPhone] OS 4 beta 3 로 올리고 나서 찾은 버그 [1] (0) | 2010/05/06 |
| iPhone tistory applocation test (0) | 2010/04/28 |
TAG iPhone




댓글을 달아 주세요