SwiftUI - impossible to disable the sheet control variable

后端 未结 0 1798
甜味超标
甜味超标 2020-12-05 22:28

I am displaying a sheet on a view, using something like this:

.sheet(isPresented: shouldShowAlert(),
  content: {
    ListItem(selectedItem:item)
  })
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题