Text("3456")
.frame(width: 250, height: 250, alignment: .center)
.contentShape(Circle()) // 扩大点击范围
.onTapGesture {
print("onTapGesture")
UIApplication.endEditing()
}











网友评论