Detected view visible.

I'm trying to detect when a view is first made visible so I can connect to a BLE device and then when it is dismissed it is disconnected. I've tried using onAppear/onDisappear and isPresented but they all have the same problem that when I go through a NavigationLink to a child view, it called onDisappear or sets isPresented to false.
1 Reply
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server