While debugging a different problem, I ran into this puzzle:
I want to get the true screen size (no nav bar, home indicator, etc.), but I’m getting different sizes. Screen.Size is reporting a value that’s larger when the Nav Bar is visible:
According to the docs for MobileScreen, .Size is “the size (in points) of the entire Screen area,” so there’s shouldn’t be any change in value because of the Nav Bar.
Happy to file a bug report if this is what it is, but if anyone has a workaround, that would be awesome.