My team and I have been testing some PlayCanvas apps getting iFramed into a parent website. The playcanvas instances are set to keep their aspect ratio, but on iOS 12 playcanvas gets sized up dramatically. I made an example project to showcase the issue.
We have been able to reproduce the issue on browserstack and on physical phones. It does not occur on iOS versions above 12. One work around is to open the iFramed document, and delete its pixel styling like in this video below. This fixes the issue for that session but obviously if you refresh that page it reverts to the original issue:
Does anyone have any ideas on what could be causing this? It seems to be affecting the size of the parent iFrame though that doesn’t seem like it should be possible. Thoughts?
Thanks in advance,