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
- 한글
- Xcode
- mac
- error
- 개발자
- IOS
- appstore
- Session
- Notification
- 웹뷰
- Code
- Realm
- github
- geofencing
- iOS16
- Firebase
- Git
- UIButton
- JPA
- shorebird
- rxswift
- Archive
- window
- 이미지
- FLUTTER
- darkmode
- Apple
- MacOS
- SwiftUI
- Swift
Archives
- Today
- Total
목록not change (1)
EEYatHo 앱 깎는 이야기
Swift ) disable tintColor - EEYatHo iOS
NavigationBar에 버튼을 넣기위해서, UIBarButtonItem 같은 버튼을 사용할 때, tintColor가 활성화되어 이미지 색이 자동으로 바뀌곤 한다. 해당 색은 NavigationBar.tintColor 혹은 UIBarButtonItem.tintColor를 조절하여 컨트롤 할 수 있다. 하지만 텍스트나 이미지에 tintColor를 적용하고 싶지 않을 때 도 있다. 그럴 때는, 텍스트에 attribute를 입히거나, let button = UIBarButtonItem(title: "테스트텍스트", style: .done, target: self, action: #selector(testFunc)) button.setTitleTextAttributes([.foregroundColor : UI..
iOS, Swift/Tip, Bug, Swift Error
2022. 5. 1. 16:53