|
This used to work, but as of iOS14 beta 5, there is a white space behind the "cells". Any idea how to get rid of the white space?
|
|
Interesting. If you change "List" to "Scrollview", it looks like it should (and you can get rid of the UITableView items. But is that the best way to do it? |
|
...
... |
SPONSORED Join a FREE crash course for mid/senior iOS devs who want to achieve an expert level of technical and practical skills – it’s the fast track to being a complete senior developer! Hurry up because it'll be available only until February 9th. Sponsor Hacking with Swift and reach the world's largest Swift community! |
|
|
|
|
|
Then in my View body I have this inside a ZStack (for a background image) inside GeometryReader and it works.
I do seem to need to interfere with both TV and TVCell appearances for success. However, change the list to dynamic from an array - .... struct AnItem with id: UUID and descr: String and it all goes white again. :-(
I hope it helps. I'm still digging but it does feel like List is a tad iffy, in this respect, in XCode 12.0.1 and iOS 14.0.1 |
|
FWIW: I'm working on converting my UIKit app to SwiftUI and have been banging my head against this problem for days. The Regardless of what combinations of different solutions I attempt, it seems like there's no way to make the |
|
I've gotten this to work (for now). I'll update as I make progress on my
(And, no, my app isn't really using a red background!) |
|
How to do in SwiftUI 2.0?:
Background is still white. |
|
Got it working, even though people say in iOS 14 List doesn't use UITableView this was the missing piece:
Anyone knows how to hide or make separator full width (now it appears with left padding)? |
|
Looks like the problem of a
And there is no way to not use the color scheme or provide a custom implementation. Correct me about the last statement if I'm wrong. |
SPONSORED Join a FREE crash course for mid/senior iOS devs who want to achieve an expert level of technical and practical skills – it’s the fast track to being a complete senior developer! Hurry up because it'll be available only until February 9th.
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.