UIScreen MainScreen Bounds returning wrong size

前端 未结 6 2058
半阙折子戏
半阙折子戏 2020-11-29 04:10

So I created a new project with the latest version of XCode and tried to log the screen size of my app (to determine the device type for UI). I ran the following code from m

6条回答
  •  误落风尘
    2020-11-29 05:12

    In XCode6 having no splash screen image for iPhone5 screen size will trigger a warning. XCode will add a default one (just plain black) if you press the warning.

    This will enable the 'normal' simulator size.

提交回复
热议问题