Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Extra white space is rendered in the top of a table view, but inside the rectangle of the table view, when adding it to an existing view controller.
1. Add the attached storyboard file to an X.iOS project.
2. Open the storyboard file in iOS Designer.
3. Add a table view to the View Controller indicated in the attached image file, TableViewWhiteSpace.png.
4. Delete all prototype cell place holders.
Expected result: no extra white space at top of the table view
Actual result: extra whitespace at the top of the table view. (see attached image ExtraWhiteSpaceInTableView.png)
Adding a new view controller to the storyboard and adding a table view to the new view controller does not result in the same extra white space. (see attached image NoExtraWhiteSpace.png)
Created attachment 6967 [details]
Created attachment 6968 [details]
Checked with the attached storyboard file, adding table view to existing view controller shows extra white space at top.
Adding table view to new view controller doesn't show extra white space.
Xamarin 126.96.36.199 (d3cf238e3845e930e312b6ec9b4c6c5437c33067)
After adding the table view to new view controller, set it as the root view from a navigation controller and a white space should show up.
I believe what you're seeing is the space allocated for the section header. We don't put any text in this by default as iOS will render carrier name text and the wifi signal strength icon on top of the text when you have a UITableViewController.
If you create the same construct in Xcode you will see the same space allocated, but with the text 'Prototype cells' in it.
As per comment 6 closing this issue.