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!
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
Nir Ohayon
2,399 PointsTable View Cell Alignment
Hi Guys,
I'm having some trouble with aligning the cell so the carrier bar won't Interfere...this is how it looks not, check out in the top left: http://d.pr/i/FbwX it's a (droplr link, just to see the screenshot)
Cheers,
1 Answer

Stone Preston
42,016 Pointsyou can add a navigation bar, or a table header, or hide the carrier bar, how do you want it to look?
Nir Ohayon
2,399 PointsNir Ohayon
2,399 Pointseither way its fine :) it's just driving me crazy that it looks like this. I tried the"simulated metrics" where you can change the top bar from inferred to add navigation bar, but after running the simulation i can't see the change..:/
Thanks,
Stone Preston
42,016 PointsStone Preston
42,016 Pointsyou will have to embed in a navigation controller in storyboard or add one programatically in your view controller. You can also try changing the frame of the table view using something like
self.tableview.frame = CGRect(0, height of carrier bar, 320, whatever the height of the remaining screen is)