Pin to Edge feature not working
Pin to Edge feature, part of Screen Transform, is not working or not working as specified in the docs.
I have a Full Frame Region
and a child Screen Transform
I would expect the Full Frame Region to stretch to the screen edges and its child Screen Transform to KEEP the same distance from the left edge. I would expect this on all devices but this is not happening. My Screen Transforms have variable distance from the edge depending on which phone I am testing on (not just on the simulator, I tested on real phones). This makes it very difficult to fit a decent UI.
What am I doing wrong, or is there a workaround?
Thanks
Hi Steaq,
This is because full frame represents something a little bit different than you are imagining. Full frame may includes edges of the frame not visible in the camera but are visible in the final capture. For example, on some devices, you'll notice that the live camera is a tiny bit zoomed-in in comparison to the resulting Snap once you take it. If you're comparing an iPhone X vs. an iPhone 8, this will be a bit different in the live camera (but not in the final capture).
If you want consistency in the Live camera, you should switch the Screen Region to the "Live" region. We'll try to clarify this better in the documentation.
Best,
Travis