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

iOS Table View

I am doing the blog reader app but i am with a problem.

I set everything right in the main storyboard, but with this iOS7 it seems it does not display it right on the screen. Can someone please help me fixing this problem?

https://dl.dropboxusercontent.com/u/52275067/screen.png

Thank you very much!

Hi Miguel Martin.

Could you post a picture of your storyboard with the tableview selected so i can look at the placement?

Thanks

Already solved by Stone Preston!! Thank you anyway Scott.

2 Answers

thats because the status bar is now transparent in iOS7 and content no longer floats below it, it will move under it. you can add a table header to your tableView in your viewDidLoad method to move the tableVIew content down below the status bar:

-(void)viewDidLoad
{
self.tableView.tableHeaderView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 20)];
}

Ah good, it seems to always escape me about the iOS 7 Transparency stuff..

So many thanks Stone Preston !! Already tried and it works great !!