简体   繁体   中英

Main.storyboard file not showing up in my new Xcode project?

The new Xcode project does not have any main.storyboard file in the showing the project please help with this problem.

图像

You have SwiftUI enabled in your project, which does not use storyboards anymore.

Your layout is inside the ContentView.swift file.

If you do want to work the old way, with storyboards, you should uncheck 'Use SwiftUI' in the project creation screen.

来自雷文德利希 (Image is from this article. Which is a good place to get started.)

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