简体   繁体   中英

iOS app constrained to dimensions of 4S screen

I'm working on a React Native app and for some reason it started only rendering in iPhone 4S dimensions. The issue started happening when I upgraded a bunch of packages and messed with the Info.plist, project.pbxproj, and *.xcscheme a bit (too much it seems).

Here's a screenshot on an iPhone 6:


When I run it on a 4S it looks normal.

Any ideas?

As someone mentioned this happens when Launch Screen File is empty. Verify in XCode under the 'General' section that Launch Screen File is not empty:

在此输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM