Swift SF Symbols 3、ヘッドホン/イヤホン、パレットが格好いい

import SwiftUI

struct ContentView: View {
    var body: some View {
        VStack {
            Text("Hello, MusicKit!")
                .font(.largeTitle)
            HStack {
                Image(systemName: "airpodsmax")
                Image(systemName: "airpodspro")
                Image(systemName: "homepod.and.homepodmini")
                Image(systemName: "beats.powerbeatspro")
            }
            .symbolRenderingMode(.palette)
            .foregroundStyle(.white, .red)
            .font(.largeTitle)
        }
        .padding()
    }
}

Swift

Posted by shi-n