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 trialogechi1
14,455 PointsXCode 6 blank white screen, iOS development Self Destructing Message App
When I follow the video using Xcode 6, (having previously used the tutorial to reconstruct the Xcode 5 and earlier version of an Empty Application) I receive a blank white screen after adding the tab views and the three tabs (inbox, friends, camera). Any suggestions as to how to update the instructions to work in Xcode 6?
I'm not sure if this is an issue with Auto Layout.. Thanks!
7 Answers
Robert Bojor
Courses Plus Student 29,439 PointsHi,
I did had time to look at the project and I've done some changes to it.
the customization code in AppDelegate.m had to be removed, now it's only "return YES;"
in the product details, under the General tab, the main storyboard was not selected. ( https://www.dropbox.com/s/80b47fbrtv6wg7d/Screenshot%202014-10-13%2012.35.55.png?dl=0 )
each tab in a TabBarController has to have a valid controller attached to it, and by valid I mean of its type. I've added 3 new UITAbleViewControllers to your project.
You can download the modified project here: https://dl.dropboxusercontent.com/u/7220030/Ribbit.zip
ogechi1
14,455 PointsThanks! I used that and it is not quite the same as the Xcode 5 empty app, so I reconstructed that by removing certain files from the Single View App template with no problem. I've also tried to follow along using an Xcode 6 empty app template.
The actual problem I'm having is that after following this video, importing and adding the tabs and the tab views, when I run my app, I still get a blank white screen.
Kevin Hamil
8,203 PointsI went searching for a work-around too and I found this thread... if you scroll to the bottom there's a link to a template file already made that you can add to your xcode templates.
https://teamtreehouse.com/forum/no-more-empty-application-template-in-xcode-6
ogechi1
14,455 PointsThanks for the quick response, Kevin! I followed that tutorial, and I got (the equivalent of) an empty Xcode 5 template in Xcode 6. But after I go through the video, and add the three Table Views/tabs, when I run the application, I still receive a blank white screen. The tabs should appear on the bottom of the screen, but nothing shows up.
Robert Bojor
Courses Plus Student 29,439 PointsThe Empty Application has been moved under iOS -> Other.
Robert Bojor
Courses Plus Student 29,439 PointsCan you archive your project and put it up somewhere in order to share it? I would like to have a look at it.
ogechi1
14,455 PointsSure, here you are:
https://www.dropbox.com/s/57sg2wb6xgzk5z5/Ribbit.zip?dl=0
Again, thank you soo much!
ogechi1
14,455 PointsHi Robert, Have you gotten a chance to take a look at the project? Let me know, and thanks!!
Michael Kantor
2,183 PointsDid you get this resolved? I have the same problem.
ogechi1
14,455 PointsNot yet, but I'll keep you posted!
ogechi1
14,455 Pointsogechi1
14,455 PointsHi Robert, the instructions and the project are very helpful. Thank you so so so much, you are incredible! Btw, did you start out with a tabbed application template? Best wishes, Ogechi
Robert Bojor
Courses Plus Student 29,439 PointsRobert Bojor
Courses Plus Student 29,439 PointsI just modified your project but basically it is similar to a Tabbed App.
The difference is that if you start a Tabbed application, Xcode will do all this for you, in your case, you had to do it manually.
ogechi1
14,455 Pointsogechi1
14,455 PointsAh okay, great. Works perfectly anyhow :)