Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialSergio Prin Calderon
Courses Plus Student 1,806 PointsWhy does my simulator keep showing a black screen?
I have tried a lot of different things to fix it, but it still doesn't work. Any suggestions?
2 Answers
Stephen Whitfield
16,771 PointsWhat does your appDelegate look like? Are you using Storyboarding? Paste the code from your appDelegate here.
Sergio Prin Calderon
Courses Plus Student 1,806 PointsIt's working now! Thank you for your help.
Stephen Whitfield
16,771 Pointsawesome!
Sergio Prin Calderon
Courses Plus Student 1,806 PointsSergio Prin Calderon
Courses Plus Student 1,806 PointsYeah, I'm using Storyboarding. Here's the code:
import UIKit
@UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate {
}
Stephen Whitfield
16,771 PointsStephen Whitfield
16,771 PointsOk. That isn't the problem.
Go to the General settings in your project by clicking on the .xcodeproj in the Navigator pane on the left-hand side. Make sure "Main Interface" section under "Deployment Info" has your main storyboard selected. If that doesn't work, upload your project to dropbox or something similar so I can sift through it.