일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- tableView
- map
- Xcode
- HIG
- 애니메이션
- uiscrollview
- 클린 코드
- 리펙토링
- 리펙터링
- Refactoring
- Clean Code
- UITextView
- MVVM
- Human interface guide
- RxCocoa
- combine
- UICollectionView
- collectionview
- Protocol
- ribs
- clean architecture
- 리팩토링
- ios
- rxswift
- swift documentation
- swiftUI
- uitableview
- Observable
- 스위프트
- SWIFT
- Today
- Total
목록navigationbar (3)
김종권의 iOS 앱 개발 알아가기
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/cgtvl4/btrhVsTUlmI/Me7XhfvgPAxCKQgu29ydt0/img.gif)
Navigation Bar 사라지게 하는 방법 Contents를 위로 올릴때는 navigationBar를 hidden시키고, 아래로 내릴때는 보이게끔 설정 "hidesBarsOnSwipe" 프로퍼티 사용 navigationController?.hidesBarsOnSwipe = true TabBar 사라지게 하는 방법 Contents를 위로 올릴때는 navigationBar를 hidden시키고, 아래로 내릴때는 보이게끔 설정 ScrollView의 델리게이트 메서드인 `scrollViewWillEndDragging(_:withVelocity:targetContentOffset:)`사용 velocity.y가 음수: Contents를 아래로 내리는 경우 velocity.y가 양수: Contents를 위로 올리는..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/l6Z8G/btrhAf0RCIR/m1k42AdPQ5A1ZBzkVJ3xy0/img.png)
apperance() 메소드 네비게이션: UINavigationBar.appearance() 탭바: UITabBar.appearance() AppDelegate에서 전역적으로 세팅 AppAppearance.setupAppearance()으로 접근 final class AppAppearance { static func setupAppearance() { ... } } UINavigationBar.appearance() 배경: UINavigationBar.appearance().backgroundColor = UIColor.darkGray 타이틀 색상: UINavigationBar.appearance().titleTextAttributes = [NSAttributedString.Key.foregroundCo..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/B2tXr/btq7CUAc0cV/qIskIeckyNPkeKjs9hHUe1/img.png)
NavigationBar의 세가지 색상 tintColor: navigation items들에 적용되는 컬러 (rightBarButtonItem, leftBarButtonItem) backgroundColor: navigationBar의 superView를 의미 barTintColor: navigationBar를 의미 navigationBar의 색상을 변경하고 싶은 경우 barTintColor사용 색상 지정 방법 naviBar.backgroundColor = .systemBackground를 설정해도 navigatinoBar의 색상이 gray가 남은 이유 반투명도가 default로 설정되어 있기 때문 반투명도 제거 naviBar.isTranslucent = false naviBar.backgroundCol..