event.pressure returning nil

Hello,

Strange behavior on my iPhone X: It should print a value for event.pressure, but I get nil.

When I soft-close it and open it again, it works in about 1 of 3 cases, and I don’t see any reason.

The same code used to work not so long ago, I don’t know why it stopped working.

Corona Build 3567 (or 3556), iPhone X, iOS 13.3

local function onTouch(e) print ("!!!", e.pressure) end Runtime: addEventListener("touch", onTouch)

Hi @philipp3,

I don’t use iphones at all. Maybe it is related with settings of 3D Touch on the device?

Have a nice day:)

ldurniat

I think this is a bug, but I don‘t know if it‘s on the Corona or Apple side. When I close the app often enough, it will eventually print the pressure again :man_shrugging:t3: