swiftui-ontapgesture Questions
3
I have a sheet that I put outside a foreach loop . When I click on Tapgesture the first time the results are blank, after the first time I get the correct data for every row I tap . I have read She...
Perlman asked 18/1, 2021 at 17:17
4
Solved
I would like to run a function each time a tab is tapped.
On the code below (by using onTapGesture) when I tap on a new tab, myFunction is called, but the tabview is not changed.
struct DetailView:...
Cote asked 3/11, 2020 at 1:13
3
I have a SwiftUI Map with MapAnnotations.
I would like to have an onTap gesture on the Map, so it deselects the selected annotations, and dissmisses a bottom sheet, etc. Also would like to have an ...
Dockage asked 4/12, 2022 at 13:17
1
© 2022 - 2024 — McMap. All rights reserved.