@Claude31
Sorry for the late. I just found the reason. I had add a tapGesture by accident in swiftUI like
HStack {
Controller()
}.frame(maxWidth:.infinity, idealHeight: 60)
.onTapGesture {
}
and I missed it.
The UISwitch works fine but button tap action if rejected.