Screenshots, the Apple website, and other sources all indicate the following for the iPhone XR:
Swift estimates the iPhone XR's screen resolution to be:
375x812 (or 750x1624)
Why is that and how do I handle it?
NOTE: All iPhones up to and including the iPhone XR (plus the iPhone XR simulator) function correctly.