2
votes

This is a very strange issue. Happening both in the simulator AND on iPhone 6 and 6 Plus devices.

I am getting a 1px black line at the very top and very bottom of every page of my app. It is just above the status bar at the top and it is not just when there is a nav bar. It is on every page, even when it is too hard to see, I screenshot the page and zoom and can see the thin black lines at the top and bottom.

Black line at the top: Here is the black line at the top Black line at the bottom: Here is the black line at the bottom

1
Is it seen only in your app or it also seen in the other apps. - shri
put Default images for iPhone 6 & 6 plus in ImageXCassets. - Fahim Parkar
Have you checked that, this appear in Simulator only, May be device doesn't have this problem. - Viral Savaj
check constraints if you've set any? maybe you've sent the view to be -1px? - Manesh
@All : this is happening because his app is not made for iPhone 6 & 6 Plus. So what he see is iPhone 5s app on those devices. When you see old apps on new devices, you will see 1px difference because those apps are zoomed... - Fahim Parkar

1 Answers

0
votes

This is happening because your app is not compatible with iPhone 6 & 6 Plus.

What you see is zoomed version of iPhone 5 on iPhone 6 & 6 Plus.

You have to make app compatible to iPhone 6 & 6 Plus screens by using Auto-Layout.