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
- Git
- iOS16
- window
- mac
- Code
- shorebird
- github
- 개발자
- FLUTTER
- SwiftUI
- IOS
- UIButton
- appstore
- geofencing
- MacOS
- 웹뷰
- darkmode
- Apple
- Session
- Archive
- rxswift
- 한글
- Firebase
- error
- JPA
- 이미지
- Notification
- Realm
- Swift
- Xcode
Archives
- Today
- Total
목록iOS12 (1)
EEYatHo 앱 깎는 이야기
Swift ) StackView backgroundColor - EEYatHo iOS
요약 iOS14 미만은 UIStackView의 layer이 CATransformLayer이라 backgroundColor 속성을 무시한다. iOS14 이상부터는 UIStackView의 layer이 CALayer로 바뀌면서 backgroundColor 속성을 사용할 수 있다. 따라서 버전분기 코드로 대응하면 된다. iOS 12에서 stackView의 backgroundColor가 이상한 이슈가 발견되었다. 아래 코드를 실행해도, backgroundColor를 찍어보면, nil이 나온다/? stackView.backgroundColor = .blue (lldb) po stackView.backgroundColor "nil" iOS12에서는 UIStackView의 layer은 CATransformLayer 이..
iOS, Swift
2021. 11. 3. 12:20