|
Hello, I managed to solve challenges for Day 42, however I am not happy with styling when I toggle to ListView. I could not manage to eliminate dark (black) areas around list items. Is there any way to get rid of black areas in the region? Please see my code for ContentView below;
|
|
I remember struggling with this as well. But I don't have the time right now to go back through my code to see what exactly I changed to tell you specifically what you need to change. But this is what I ened up with, and was satisfied. Hope it helps.
|
|
Thank you! I have updated my ListLayout struct.
|
TAKE YOUR SKILLS TO THE NEXT LEVEL If you like Hacking with Swift, you'll love Hacking with Swift+ – it's my premium service where you can learn advanced Swift and SwiftUI, functional programming, algorithms, and more. Plus it comes with stacks of benefits, including monthly live streams, downloadable projects, a 20% discount on all books, and free gifts!
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.