I tried to adapt my app to work correctly on iPhone X, so used safe area in the XIB files with some change in constraints. when I test the result on simulator it works as expected, but not the case on real device (iPhone 6). I cleaned the project and re-run but didn't work.
real device (iPhone 6)