As you can see from the image I have a TextField and after list.
TextField
list
The list has a transparent background, I\'m using .listStyle(
.listStyle(
2条回答 夕颜 (楼主) 2021-01-15 02:53 You could use on the background Color.white.opacity(0.01) or Color.clear in your case: .background( RoundedRectangle(cornerRadius: 5) .fill(Color.white.opacity(0.01)) or .background( RoundedRectangle(cornerRadius: 5) .fill(Color.clear)) 0 讨论(0) 查看其它2个回答 发布评论: 提交评论 加载中... 自定义标题段落格式字体字号代码语言点击上传x 验证码 看不清? 提交回复
You could use on the background Color.white.opacity(0.01) or Color.clear in your case:
.background( RoundedRectangle(cornerRadius: 5) .fill(Color.white.opacity(0.01))
or
.background( RoundedRectangle(cornerRadius: 5) .fill(Color.clear))
热议问题