Touch detection around iPhone screen edges feeling wonky

Hi all,

Does anybody else have an issue with weird / bad touch detection around the screen borders of their iPhone or other devices?

I’m testing my game on my iPhone SE, and it feels as if a lot of touches are not registering when they are close to the edge of the screen.

It almost feels as if the touches don’t go to the Corona app, but to the phone OS, for swiping from the edge to the center of the screen to open things like Apple’s control center.

This feels really sucky, since my joypad control are fairly close to the edge of the screen, and they feel kind of unresponsive or erratic.

Anyone else have this, or potentially know of a fix?

Thanks,

Thomas

Hi @thomas6,

Yes, this is iOS feature due to Control Center.  [lua]native.setProperty(“preferredScreenEdgesDeferringSystemGestures”, true)[/lua] may help.

Excellent, thanks Bektur! I searched the corona forums and documentation for this, because I had a feeling it might be a setting, but I couldn’t find it.

Thanks again!

Hi @thomas6,

Yes, this is iOS feature due to Control Center.  [lua]native.setProperty(“preferredScreenEdgesDeferringSystemGestures”, true)[/lua] may help.

Excellent, thanks Bektur! I searched the corona forums and documentation for this, because I had a feeling it might be a setting, but I couldn’t find it.

Thanks again!