Different app resolution between iPhone 8 and iPhone 6,7 with same settings

73 Views Asked by At

we are developing an app that get images (640x480) from the rear camera and process it. Preview and images are displaced to top and right of the screen on the iPhone 8, but on iPhone 7 works perfectly as we want. We think the problem could be the values of focal length (fh,fv) set. As we know iPhone 7 & 8 has the same model of cameras and screen, but the response is different with the same settings. Any of you had the same problem or know how solve it?.

iPhone 8 incorrect behaviour (displaced at right and top).

https://i.stack.imgur.com/6RcGA.jpg

Correct beahaviour, centered in the middle of the screen (iPhone 7).

https://i.stack.imgur.com/C2iMH.jpg

Thanks in advance!.

0

There are 0 best solutions below