티스토리 뷰
728x90
반응형
내용
- UITextField placehodler color 변경
결과
textField.attributedPlaceholder = NSAttributedString(string: "명함이름", attributes: [NSAttributedString.Key.foregroundColor: UIColor.system6])
다음과 같이 textField 가 어두운 경우 placeholder 의 색을 밝게 변경할 수 있다.

728x90
반응형
'iOS' 카테고리의 다른 글
iOS) HTTP 메시지 구조를 통해 GET, POST 이해하기 (0) | 2021.10.04 |
---|---|
iOS) 클립보드(UIPasteboard)에 복사하기 (0) | 2021.09.29 |
iOS) URLSession 에 대해서 알아보자(2/2) - 실전 (0) | 2021.09.18 |
iOS) HTTP Multipart/form-data 이해하기 (0) | 2021.09.18 |
iOS) URLSession 에 대해서 알아보자(1/2) - 원리 (0) | 2021.09.15 |
댓글
TAG
- YPImagePicker
- Swift
- OpenSourceLibrary
- watchOS
- projectsetting
- 2022 KAKAO TECH INTERNSHIP
- MOYA
- APNS
- CloneCoding
- rxswift
- SwiftUI
- configurable widget
- WWDC
- IOS
- Widget
- WidgetKit
- RxCocoa
- urlsession
- Notification
- async/await
- Algorithm
- WWDC22
- Objective-C
- containerBackground
- UserDefaults
- github
- MVVM
- Protocol
- Firebase
- 서버통신
최근에 올라온 글
최근에 달린 댓글
글 보관함
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
링크
- Total
- Today
- Yesterday