| Apple iPhone 12 | Huawei P40 5G | |
| Specifications | ||
| Brand | Apple | Huawei |
| Model | A2172, A2402, A2403, A2404 | - |
| Release Date | October 2020 | April 2020 |
| Operating System | iOS 14.1 | EMUI (Android 10) |
| Dimensions | ||
| Size | 146.7 x 71.5 x 7.4 mm 5.78 x 2.81 x 0.29 in |
148.9 x 71.1 x 8.5 mm 5.86 x 2.80 x 0.33 in |
| Weight | 164 g 5.78 oz |
175 g 6.17 oz |
| Screen | ||
| Size | 6.1 inches | 6.1 inches |
| Resolution | 1,170 x 2,532 pixels | 1,080 x 2,340 pixels |
| PPI | 460 | 422 |
| Features | OLED | OLED |
| Cameras | ||
| Rear | Dual camera 12 MP f/1.6 Wide 12 MP f/2.4 Ultra Wide |
Triple camera 50 MP f/1.9 Wide 16 MP f/2.2 Ultra Wide 8 MP f/2.4 Telephoto |
| Front | Dual camera 12 MP f/2.2 Wide SL |
Dual camera 32 MP f/2.0 Wide ToF |
| Storage | ||
| Memory | 4 GB | 6 GB 8 GB |
| Fixed | 64 GB 128 GB 256 GB |
128 GB 256 GB |
| Removable | - | Nano Memory |
| Processor | ||
| Chip | Apple A14 Bionic Hexa-core processor 5 nm |
HiSilicon Kirin 990 5G Octa-core processor 7 nm |
| CPU | 2x 3.10 GHz Firestorm 4x 1.80 GHz Icestorm |
2x 2.86 GHz Cortex-A76 2x 2.36 GHz Cortex-A76 4x 1.95 GHz Cortex-A55 |
| GPU | Apple-designed four-core | Mali-G76 MP16 |
| Battery | ||
| Capacity | 2,815 mAh | 3,800 mAh |
| Features | Fast charging 20W | Fast charging 22.5W |
| Removable | ||
| Connectivity | ||
| 5G | ||
| NFC | ||
| 3.5 mm Audio Jack | ||
| Micro USB | ||
| USB Type-C | ||
| Lightning | ||