【发布时间】:2021-10-28 14:08:42
【问题描述】:
.onTapGesture {
self.showModal = true
}.sheet(isPresented: self.$showModal, onDismiss: {
// addEntry()
// requestReviewIfNeeded()
self.showModal = false
}, content: {
BiographyDetail(biography: self.biography)
Button(action: {
showModal = false
}) {
Text("CLOSE")
.foregroundColor(.gray)
.background(Color.black).ignoresSafeArea()
}
})
感谢您的帮助!
【问题讨论】: