You should have todl you access with developer app…
I copied at 28'49"
struct Icon: View {
let systemSymbolName: String
let color: Color
let shadow: ShadowStyle
var foregroundColor: Color = .white
var body: some View {
VStack {
Image(systemName: systemSymbolName)
.resizable()
.aspectRatio(1.0, contentMode: .fit)
.padding(2)
}
.background(in: Circle().inset(by: -20))
.backgroundStyle(
color
.gradient
)
.foregroundStyle(foregroundColor.shadow(shadow))
.padding(20)
}
}
private let dropStyle = ShadowStyle.drop(radius: 1, y: 1.5)
private let innerStyle = ShadowStyle.inner(radius: 1.5)
let icons: [Icon] = [
Icon(systemSymbolName: "person", color: .red, shadow: dropStyle),
Icon(systemSymbolName: "basketball", color: .orange, shadow: dropStyle),
Icon(systemSymbolName: "globe.central.south.asia", color: .yellow, shadow: innerStyle),
Icon(systemSymbolName: "carrot", color: .green, shadow: innerStyle, foregroundColor: .orange),
Icon(systemSymbolName: "sailboat", color: .mint, shadow: innerStyle),
Icon(systemSymbolName: "figure.open.water.swim", color: .teal, shadow: dropStyle),
Icon(systemSymbolName: "ladybug.fill", color: .cyan, shadow: innerStyle),
Icon(systemSymbolName: "calendar", color: .blue, shadow: dropStyle),
Icon(systemSymbolName: "moon.stars", color: .indigo, shadow: dropStyle),
Icon(systemSymbolName: "brain.head.profile", color: .purple, shadow: innerStyle),
Icon(systemSymbolName: "birthday.cake", color: .pink, shadow: dropStyle),
Icon(systemSymbolName: "house.circle.fill", color: .white, shadow: dropStyle),
Icon(systemSymbolName: "lizard", color: .brown, shadow: dropStyle),
Icon(systemSymbolName: "flag.checkered", color: .black, shadow: dropStyle),
Icon(systemSymbolName: "character.book.closed", color: .gray, shadow: dropStyle),
]
struct IconGrid: View {
var body: some View {
Grid(horizontalSpacing: 16, verticalSpacing: 16) {
ForEach(0..<3) { i in
GridRow {
ForEach(0..<5) { j in
icons[i * 5 + j]
}
}
}
}
.background(.black.opacity(0.8))
}
}
And at 32'04": but this is too much, so I copy in attached file.
I do not understand the problem you have…