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 |
Tags
- 스쿠버다이빙
- 연금저축펀드
- 괌 자유여행
- Device 등록
- Cocoapods #PrivateRepo #SpecRepo
- 세비야
- 스플리트
- cocoapod
- 리브어보드
- 지팍스페인
- 크로아티아
- 라이브러리
- Swift #Concurrency #쓰레드
- swiftUI
- 그라나다
- SwiftUI #Skeleton #데이터갱신
- Gradle
- 러브자그레브
- Concurrency #Swift #Combine
- 푸켓여행
- 강릉
- 스페인여행
- 스페인광장
- 대한항공
- 공기먹는다이버스
- 시밀란
- 도심공항
- 러브스플리트
- xcode
- 아시아나
Archives
- Today
- Total
목록swiftUI (2)
JEP's Diary
SwiftUI Custom Alert
Custom Alert을 FullScreenCover 이용해서 만들기 아래 URL 참고 https://stackoverflow.com/questions/68178219/swiftui-creating-custom-alert
Development/iOS
2022. 8. 4. 20:36
SwiftUI 투명 fullScreenCover
FullScreenCover를 이용해서 Custom Alert를 만들기 위해 배경을 투명 처리되도록 해야했다. 먼저 View를 extension 한다 // 투명 fullScreenCover extension View { func transparentFullScreenCover(isPresented: Binding, content: @escaping () -> Content) -> some View { fullScreenCover(isPresented: isPresented) { ZStack { content() } .background(TransparentBackground()) } } } struct TransparentBackground: UIViewRepresentable { func makeUIV..
Development/iOS
2022. 8. 4. 20:34