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
Adam Bankhurst
2,329 PointsFor the Blog Reader App, I am using iOS 7 and the example is using iOS 6. The formatting is off, please help!
Here is a screenshot of what my app looks like in the test environment. Any idea why?
2 Answers
Joe Shiels
19,933 PointsLater on in the project you will add a navigation controller which will sort that out.
Thomas Nilsen
14,957 PointsYou can easily fix this by implementing one of tableView's many delegates :)
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
NSInteger cellCount = [self tableView:tableView numberOfRowsInSection:indexPath.section];
return self.view.frame.size.height / (CGFloat)cellCount;
}