How many megapixels is the iPhone XR?

Don't forget read How many megapixels is the iPhone XS?
In terms of capabilities, this phone is quite similar to the iphonex. It has the function of Smart HDR, which will give greater detail and color in the photos. He also has an improved portrait mode with the Apple depth adjustment option. That's why you can adjust the depth of field after taking a photo in portrait mode.
iPhone XR's Smart HDR is a new feature that automatically detects and captures red eyes, causing glare and deepening shadows. Advanced software for portrait selfie also is in the iPhone XR.