效果
主要代码
Image("icon-start")
.resizable()
.frame(width: 35, height: 35)
.shadow(radius: 30)
//给view添加边框与圆角
.overlay(
RoundedRectangle(cornerRadius: 35.0/2, style: .continuous)
.stroke(Color(hex: 0x00BA8C), lineWidth: 3)
)