Welcome to the Treehouse Community
Looking to learn something new?
Jan Aart Schipper2,591 Points
First cell in Table View overlapping with status bar
When I'm building my app in the simulator there's an overlap of the first cell and the "carrier" and "wifi signal sign".
There must be an easy way to get this done, but I can't find it. If i'm not clear enough, I will post a screenshot.
Thanks in advance.
Jan from the Netherlands.
Stone Preston42,016 Points
what you did to fix it is correct. In iOS 7, the status bar is transparent, so anything you have on screen will be displayed under it. It doesnt float down below the status bar like it did in iOS 6 (when the video was made)
I think that workaround is not a good idea, look here how the section titles are affected by the same problem: https://www.youtube.com/watch?v=YSzdDje2xC8
I have found this link very good article that helps avoiding that problem in the proper way: actually using a table view inside a classic view controller
Since table views are often used for navigating as in master-detail templates, embedding the table view controller in a navigation view controller also solves this problem.