Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- 신도림 테크노마트
- Check
- 페이백
- GCD
- 포켓몬 GO
- push
- 해몽
- 공략
- 스마트폰
- Xcode
- swift3
- swift
- 보라카이
- 신도림
- UITableView
- loop
- LG유플러스
- afterdelay
- 포켓볼
- 샘플
- error
- UIView
- 얻는법
- Example
- Bitcode
- IOS
- setting
- 아이폰7
- simulator
- 앱스토어
Archives
- Today
- Total
목록to the top (1)
도래울
UITableView - scroll to the top
UITableView is a subclass of UIScrollView, so you can also use:[mainTableView scrollRectToVisible:CGRectMake(0, 0, 1, 1) animated:YES];Or[mainTableView setContentOffset:CGPointZero animated:YES];And in Swift:mainTableView.setContentOffset(CGPointZero, animated:true)And in Swift 3:mainTableView.setContentOffset(CGPoint.zero, animated: true)
개발/iOS
2016. 8. 9. 11:02