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 | 31 |
Tags
- rxswift
- 개발자
- Xcode
- mac
- Notification
- stack
- 웹뷰
- MacOS
- darkmode
- iOS16
- 한글
- error
- UIButton
- view
- Firebase
- Session
- appstore
- Realm
- JPA
- window
- Python
- SwiftUI
- Code
- IOS
- Swift
- Git
- FLUTTER
- Archive
- github
- Apple
Archives
- Today
- Total
목록autohide (1)
EEYatHo 앱 깎는 이야기
Swift ) UINavigationBar shadowImage AutoHide - EEYatHo
네비게이션바에는 기본값으로 하단에 회색 1px짜리 라인이 있다 = shadowImage UIScrollViewDelegate를 채택한 뷰컨의 경우, 스크롤 할 때, 이 shadowImage를 바꿀 수 있는 설정이 있다. 아래처럼하면 스크롤시 shadowImage가 사라지는 효과를 줄 수 있다. let scrollEdgeAppearance = UINavigationBarAppearance() scrollEdgeAppearance.shadowColor = .clear // 스크롤 될 때의 shadowImage의 색깔 naviBar?.scrollEdgeAppearance = scrollEdgeAppearance let standardAppearance = UINavigationBarAppearance() st..
iOS, Swift
2021. 9. 27. 18:41