Home > AI > IOS > SwiftUI >

background color

ZStack {
    Color(.blue)
        .frame(width: UIScreen.main.bounds.width - 15, height: UIScreen.main.bounds.height / 8)
        .cornerRadius(5)
    Text("广告栏").blendMode(.destinationOut)
}

Leave a Reply