简体   繁体   English

模拟器变成了Hello world

[英]Simulator turned Hello world

I'm learning Swift, using some objects.我正在学习 Swift,使用一些对象。 but the simulator always turns white background and says hello world.但模拟器总是变成白色背景并说你好世界。在此处输入图像描述

You set the design in the LaunchScreen which actually should be in Main.storyboard您在 LaunchScreen 中设置设计实际上应该在Main.storyboard

Search for a file called "Main.storyboard" and set the design there搜索名为“Main.storyboard”的文件并将设计设置在那里

在此处输入图像描述

You are setting your design in your Launchscreen.storyboard .您正在Launchscreen.storyboard中设置您的设计。 This is only shown when your apps launches.这仅在您的应用启动时显示。

You need to create your design on Main.storyboard instead.需要Main.storyboard上创建您的设计。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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