|
Here's my ContentView. If try to changed the number of people, that view doesn't scroll. Thoughts? struct ContentView: View { let minNumberOfPeople = 2 let maxNumberOfPeople = 20
} |
|
I copied and pasted your code over my WeSplit App and it seemed to work fine. Which part isn't scrolling? You do have the same section header twice:
|
|
I have also tried your code and the Number of People section scroll fine. Will say a couple of pointer about the code.
or for more complex headers and footers
|
|
SOLVED! It was working all along. I was trying to scroll on my trackpad with a two finger scroll gesture. Instead, just use the "click with the thumb and scroll with a finger gesture." |
SPONSORED Get accurate app localizations in minutes using AI. Choose your languages & receive translations for 40+ markets!
Sponsor Hacking with Swift and reach the world's largest Swift community!
This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.
All interactions here are governed by our code of conduct.
Link copied to your pasteboard.