Hello @Emewson Pvwkew
Yes, the above mentioned code will applicable for the new models. We have to identify the device model and set the code. OR you can use the below code to to fix for all the iPhone devices.
var deviceInfo=kony.os.deviceInfo();
var deviceWidth=deviceInfo.screenWidth;
var deviceHeight=deviceInfo.screenHeight;
var cameraAspectRatio=4.0/3.0;
var cameraHeight=deviceWidth*cameraAspectRatio;
var transform = kony.ui.makeAffineTransform();
transform.translate(0, (deviceHeight-cameraHeight)/2);
form.camOverlay.previewTransform = transform;