반응형
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
- 다크모드
- UIButton
- Android
- 문자열
- swipe
- 웹뷰
- Realtime Database
- ios
- NavigationLink
- Apple
- autolayout
- Swift
- string
- Observable
- 라이트모드
- WebView
- UIScrollView
- Alamofire
- subscript
- SwiftUI
- Firebase
- gcd
- UITabBarController
- Java
- dictionary
- github
- remote config
- LazyHStack
- SwiftLint
- RxSwift
Archives
- Today
- Total
목록Swift Alert (1)
점진적 과부하 개발 블로그

SwiftUI Alert 알아보기 UIKit & SwiftUI 비교 UIKit 커스텀에 더 유용한 것 같다. UIAlertController와 UIAlertAction을 이용해서 구현한 코드 @IBAction func tapAddButton(_ sender: UIBarButtonItem) { let alert = UIAlertController(title: "타이틀", message: nil, preferredStyle: .alert) let registerButton = UIAlertAction(title: "확인", style: .default, handler: { [weak self] _ in guard let title = alert.textFields?[0].text else { return }..
Swift
2022. 6. 21. 23:13