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 trial

iOS Build a Blog Reader iPhone App Rebuilding from Scratch Adding a Table View Controller Class

Dr.P reon
Dr.P reon
8,562 Points

Table View rows not displaying in the simulator

I am creating the blog reader app. I added a story board to my file and also deleted the codes in AppDelegate.m didFinishLaunchingWithOptions method. Thus it looks like this.

-(BOOL)application:(UIApplication *)application
 didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {

return YES;

}

Each time I run my app, I get a white screen instead of a table view. I don't know why this is the case. Below is a picture of the story board and the simulator. Thanks in advance

Dylan Shine
Dylan Shine
17,565 Points

In your project settings, did you set your storyboard as the interface?

1 Answer

Emma Boquist
Emma Boquist
7,257 Points

The same thing is happening to me. I can see it for a second or so when I build, but then the lines disappear. Though if I scale the size of the device to 75% or 100%, they are back. It also works if I build to device.

Dr.P reon
Dr.P reon
8,562 Points

Thank you so much Emma, It works, I have spent weeks trying to figure this out. Bless your heart.