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
- 리펙터링
- swift documentation
- Human interface guide
- combine
- HIG
- 클린 코드
- uitableview
- Refactoring
- RxCocoa
- Xcode
- Clean Code
- UITextView
- SWIFT
- map
- collectionview
- ios
- rxswift
- 스위프트
- UICollectionView
- 애니메이션
- uiscrollview
- Observable
- ribs
- tableView
- swiftUI
- MVVM
- 리펙토링
- 리팩토링
- clean architecture
- Protocol
Archives
- Today
- Total
목록up/down scroll (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] up/down scroll 시 NavigationBar, TabBar 숨기는 방법 (hidesBarsOnSwipe, scrollViewWillEndDragging)
Navigation Bar 사라지게 하는 방법 Contents를 위로 올릴때는 navigationBar를 hidden시키고, 아래로 내릴때는 보이게끔 설정 "hidesBarsOnSwipe" 프로퍼티 사용 navigationController?.hidesBarsOnSwipe = true TabBar 사라지게 하는 방법 Contents를 위로 올릴때는 navigationBar를 hidden시키고, 아래로 내릴때는 보이게끔 설정 ScrollView의 델리게이트 메서드인 `scrollViewWillEndDragging(_:withVelocity:targetContentOffset:)`사용 velocity.y가 음수: Contents를 아래로 내리는 경우 velocity.y가 양수: Contents를 위로 올리는..
iOS 응용 (swift)
2021. 10. 17. 03:23