Button.TouchUp doesn't work on iOS


I use App Inventor to teach my students how to code. I was working on a simple example of using Button.TouchDown and TouchUp events when I noticed that TouchUp doesn't work on iOS. It works fine in the Andriod emulator. I'm using iOS 15.2.1 (latest at time of writing) and the Companion App 2.60 build 8 (also latest).

Based on how the button responds on my phone, it appears as if it is processing only long presses, and not holds. As after a second of holding a button, it automatically releases even if I am still pressing on it.

Here's the code I'm using:
Screenshot 2022-01-26 152316

Any advice or help would be appreciated!

Thanks in advance,

That's strange. Button works 100% on iOS.

Taken from http://doesappinventorrunonios.com/.

That's the first place I checked, too. Hence my inquiry.
I have since updated to iOS 15.3 -- same issue.

I have confirmed that a touch up event is not fired in the case of a long click of a button in IOS while it fires in Android platform. I have created an issue #692 to track it.

1 Like

Thank you!