It seems the commands to dismiss an alert box doesn’t work on iOS 14 (I’m using Appium 18.3).
specifially self._driver.switch_to.alert.dismiss()
works but actually accepts the dialog (has been doing this since iOS 13), whilst self._driver.switch_to.alert.accept()
used to do the opposite but now doesn’t work at all!