Screenshots, the Apple website, and other sources all indicate the following for the iPhone XR:
828x1792
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.