Brand
apple
xiaomi
Model
iPhone XR
Black Shark 4 Pro
Released
2018
2021
Operating System
iOS 12
Android 11
CPU
Apple A12 Bionic APL1081 / APL1W81 (T8020)
2490 MHz
Qualcomm Snapdragon 888 5G SM8350 (Lahaina)
2842 MHz
RAM
mobile (LP) DDR4 SDRAM
-
3 GB
LPDDR5 SDRAM
3200 MHz
8 GB
Graphical Controller
N/A
Qualcomm Adreno 660
Memory
64
128
Display Diagonal
6.1
6.7
Resolution
828x1792
1080x2400
Display Type
IPS TFT LCD
AM-OLED
Display Refresh Rate
-
144 Hz
Main Camera
4032x3024 px
12.2 MP
1.0 x optical zoom
9216x6912 px
63.7 MP
1.0 x optical zoom
Video Recording
3840x2160 px
60 fps
3840x2160 px
60 fps
Flash
Yes
Yes
Front Camera
7.2 MP
3088x2320 px
19.9 MP
5184x3840 px
Video Recording
1920x1080 px
60 fps
1920x1080 px
30 fps
Battery
Lithium-ion
3.79 V
2945 mAh
Lithium-ion
3.87 V
4500 mAh
Bluetooth
5.0
5.0
Protection from solid materials
6 Totally protected from dust
Yes
Protection from liquids
7 Protected against the effect of immersion up to 1m of depth
Yes
Depth
83 mm
10.4 mm
Mass
194 g
220 g
SIM Card Slot
e-SIM (embedded), Nano-SIM (4FF)
Nano-SIM (4FF)
Scratch Resistant Screen
Yes
Corning Gorilla Glass 6
Number of Display Scales
1073.7
1073.7
Display Width
2.56 Inch
2.74 Inch
Display Height
5.54 Inch
6.08 Inch
Additional sensors
Barometer, Light intensity sensor, Proximity sensor, IR face sensor
Fingerprint sensor, Hall sensor, Light intensity sensor, Proximity sensor
Compass
Yes
Yes
Accelerometer
Yes
Yes
Gyroscope
Yes
Yes
NFC
Yes
Yes
A/V Out
Yes
No
Display Light Reflection Mode
Yes
Yes