![article thumbnail](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2Fb9q0Ot%2FbtsH0ze8IL5%2FFfsJjnOWad9ra9NkrpWp30%2Fimg.png)
[SwiftUI] Custom Alert View
๐ iOS/SwiftUI
2024. 6. 16. 21:37
โ Custom Alert ํด์ปคํค์ ํ ๋,์ด๋ฐ ๋ทฐ๋ฅผ ๊ตฌํํด์ผํ์๋ค. ์ด๊ฒ์ ๊ธฐ์กด์ Alert๋ฅผ Customํ๋ฉด ๋์ค๋๊ฒ์ด๋ค. import SwiftUIstruct ContentView: View { @State private var isAlertPresented = false var body: some View { ZStack { VStack { Button("Show Custom Alert") { isAlertPresented.toggle() } .padding() ..