Why small black bars at top and bottom sides in (6,6s,6plus simulators)when i load Launcher screen

雨燕双飞 提交于 2019-12-08 07:39:14

问题


Hi i am very new for ios and in my app i am loading Launcher screens they are(Default-568h@2x,Default,Default@2x) ok that's fine

When i run my app 4,5,5s simulators screen is fitting perfectly see my 5s simulator screen

But when i load my app in 6,6s,6plus simulators small little bit gap coming at top and bottom side see my below 6 simulator screen

what is the problem is it sumulator problem or any other problem please guide me

5 simulator screen:-

6 simulator screen:-


回答1:


This is because your app is not optimised for larger iPhone screens. You will notice that is not just the black lines at the top and bottom that you are getting but also an overly magnified status bar and content.

A good article on how to fix this is here: https://www.raywenderlich.com/89816/porting-app-iphone-6-iphone-6-plus-ios-8-top-10-tips



来源:https://stackoverflow.com/questions/35812178/why-small-black-bars-at-top-and-bottom-sides-in-6-6s-6plus-simulatorswhen-i-lo

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!