Hi! this is TDCIAN!
Let's find out about checking network connection status in SwiftUI!
Look at these codes!
(1) NetworkManager.swift
(2) ContentView.swift
(3) In simulator
When network is connected
When network is not connected
Full source code: https://github.com/TDCIAN/NetworkManagerSwiftUI
GitHub - TDCIAN/NetworkManagerSwiftUI: based on: https://www.youtube.com/watch?v=YIx3e0xWKtk
based on: https://www.youtube.com/watch?v=YIx3e0xWKtk - GitHub - TDCIAN/NetworkManagerSwiftUI: based on: https://www.youtube.com/watch?v=YIx3e0xWKtk
github.com
Reference
(1) https://www.youtube.com/watch?v=YIx3e0xWKtk
'iOS > SwiftUI' 카테고리의 다른 글
[iOS / SwiftUI] DownsizedImage (0) | 2025.03.03 |
---|---|
[iOS / SwiftUI] SwiftUI Notification Deep Linking (0) | 2025.02.16 |
[iOS / SwiftUI] SwiftUI Custom Alerts (0) | 2025.02.08 |
[iOS / SwiftUI] Use Deep Link in SwiftUI (0) | 2022.01.11 |
[iOS / SwiftUI] Bottom Sheet Drawer Use with Gesture (0) | 2022.01.07 |