일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Appearance변경
- segue
- swiftUI
- CoreLocation
- SWIFT
- Java
- MapKit
- UserDefaults
- Alert
- format형식
- pod install
- kakaomap
- cocoapods
- ios15
- 백준
- image
- Kotlin
- NotificationCenter
- UIStackView
- EventKit
- AsyncImage
- programmers
- snapkit
- alamofire
- android
- autolayout
- ViewModifier
- 코딩테스트
- SwiftUI_Preview_Provider
- ios
Archives
- Today
- Total
목록actionSheet (1)
감자주먹밥
[IOS] Alert 알아보기
tableView를 배우면서 여러가지를 부가적으로 배웠는데 그 중 어플에서 가장 많이 사용되는 Alert에 대해 알아보겠습니다! 왼쪽은 Alert, 오른쪽은 ActionSheet로 불립니다! Alert는 경고, 중요정보, 문제사항을 알릴 때 사용이 됩니다. ActionSheet는 사용자가 고를 수 있는 액션이 여러 개일 때 사용됩니다. 일단 Alert를 생성하는 법 부터 알아보겠습니다. //Alert 생성 let alert = UIAlertController(title: "Hello", message: "This is Alert", preferredStyle: .alert) //AlertAction 정의 let actionDefault = UIAlertAction(title: "default", styl..
IOS/UIKit
2022. 1. 13. 01:18