The problem I found that if using digital pins as the output.
If you change the output to be ‘1’ at off and ‘0’ at on, this gets ignored and does the standard ‘0’ at off and ‘1’ at on.
I found this after looking at another members issue and I was trying to control the onboard LED on a Wemos D1 mini. The LED activates low, hence why I was trying to invert the on/off state.
This is probably the worst explanation ever but is easy to reproduce (I haven’t checked using virtual pins)
Edit: Latest iOS beta