Why the 20px gap at the top of my UIViewController?
The behaviour you are seeing is not a bug at all but merely a side effect of your misuse of adding views into a hierarchy. When you add the tableView into a view you need to tell UIKit how you want that tableView to size relative to its parent. You have two options: Auto-Layout or … Read more