This Isn't 2010, Don't Design Around Specific Devices
If it fits precisely on your iPhone Pro Max, it can now easily no longer fit on someone's iPhone Plus. You have to test both. And when a new device has another tiny change, you can add that one yet again.
Honestly, this is just a good reminder that you should design websites that look good at any arbitrary width. If the 2 pixel difference in width is a problem for your design, then two things:
- The world is more than just iPhones, so Android users probably got a shit experience for years.
- You should not have been designing like this since like 2010.