iPhone XS resolution: 5.8 inches at 2436 x 1125 pixels.
Nokia 7.1 resolution: 5.8-inch at 2280 x 1080 pixels.
The notch gives them nothing here, in fact it eats up pixels they could have used to make the resolution better. At least the iphone screen is dense enough to say "eh, we don't need those pixels".