iOS) iOS 15 + UIButton.ConfigurationUpdateHandler ์ผ๋ก ๋ฒํผ ์ํ ํธ๋ค๋งํ๊ธฐ
iOS 15 ์์ ์ฌ์ฉํ๋ UIButton.ConfigurationUpdateHandler ๋ฅผ ๊ฐ์ง๊ณ ๋ฒํผ์ ์ํ์ ๋ฐ๋ผ์ ๋์ํด๋ณด๋๋ก ํ๋ค. enum ButtonState { case enable case disable } var completeButtonIsEnabled: ButtonState = .disable { didSet { if completeButtonIsEnabled == .disable { completeButton.isEnabled = false if #available(iOS 15.0, *) { completeButton.setNeedsUpdateConfiguration() } } else { completeButton.isEnabled = true if #available(iOS ..
iOS
2021. 12. 15. 10:58
TAG
- CloneCoding
- projectsetting
- WidgetKit
- MOYA
- rxswift
- IOS
- MVVM
- github
- OpenSourceLibrary
- urlsession
- Algorithm
- Notification
- watchOS
- 2022 KAKAO TECH INTERNSHIP
- Objective-C
- Protocol
- ์๋ฒํต์
- WWDC22
- Widget
- Firebase
- YPImagePicker
- containerBackground
- APNS
- RxCocoa
- SwiftUI
- WWDC
- async/await
- UserDefaults
- Swift
- configurable widget
์ต๊ทผ์ ์ฌ๋ผ์จ ๊ธ
์ต๊ทผ์ ๋ฌ๋ฆฐ ๋๊ธ
๊ธ ๋ณด๊ดํจ
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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