We have a perspective HMI application that is used by operators both on laptops and on mobile IOS devices, split about 50/50. On the laptops, our operators can right click certain components in the app to trigger the "onContextMenu" event, prompting them to add tags to quick trends, etc.
However, we have not been able to replicate this functionality to a "long press" in the IOS apps. Trying a long press on a button component simply highlights the button's text instead of triggering "onContextMenu."
Even still, attempts to manually program a "long press" by sleeping an "invokeAsynchronous" thread and checking if the button is still held down only work with an actual mouse. Pressing and holding the button in Perspective IOS still just selects the button's text.
In the Perspective App for Android, it still selects the button's text, but it DOES trigger the "onContextMenu" event.
It would seem from these symptoms that there is either a bug or an OS limitation that is preventing the perspective app in IOS from triggering the "onContextMenu" event when long pressing a button. If it's a bug, I sure hope we can see an update eventually? If it's a limitation, then well... crap. I guess that's what we get for using IOS devices.
Unfortunately I think this is just expected behavior for React Apps on IOS. Since Ignition Perspective uses React this may just be the behavior to expect. The Github issue below discusses this issue for React. It does have a workaround fix that with some decent effort could probably be implemented into Ignition as well.