.fullScreenCover(isPresented: $isShow) {
Button(action : {
isPresented.toggle()
}){
Text("Choose")
}
.familyActivityPicker(
isPresented: $isPresented,
selection: $selection)
.onChange(of: selection){ value in
}
}
In the official version of iOS 18, when I click the Done button of familyActivityPicker, the fullScreenCover pop-up box will disappear.