Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
542 views
in Technique[技术] by (71.8m points)

ios - Xcode Storyboard "View-As" does not list iPhone 11 Pro / XS

I am developing an app for my iPhone XS. I used to have "View-As" iPhone 11 Pro selected in the storyboard, as its the same screen size. Coming back after a few months, neither is listed in the "View-As" section anymore.

None of the available options offer the same screen size as my target device, what should I select to build the UI? The options are:

  • iPhone 12 Pro Max
  • iPhone 12 / 12 Pro
  • iPhone 12 Mini
  • iPhone 11 Pro Max
  • iPhone 11
  • Some iPhones with the home button and no notch
  • Some iPads

Xcode 12.3, iOS target 14.3


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You can use desired simulator. If you doesn't exist You can add new one Click the device or simulators in just near the your project icon in Xcode and click the Add additional Simulators. section.

After follow ss steps as below

enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...