See the dotted section for additional space displayed between the navigation bar and the table view.
I tried 3 things but the same problem.1. Reset all constraints and “Add missing constraints”2. I used pin and keep the '0' distance to the UI object above the table view3. I used the drag and drop method and set the vertical distance to represent the table.
attribute inspector Adjust Scroll View Insets, storyboard, .
attribute inspector
Adjust Scroll View Insets
storyboard
Edit:
. , , .
true, , , , , , , . false, .
" " " ". "".
, , , . .
viewDidLoad tableview,
self.tableView.contentInset = UIEdgeInsetsMake(0, 0, 0, 0);
.
-(void)viewDidLoad{ [super viewDidLoad:animated]; self.automaticallyAdjustsScrollViewInsets = NO; }
viewDidLoad,
self.navigationController?.navigationBar.translucent = false
Source: https://habr.com/ru/post/1656309/More articles:Testing output in php: // stdout with PHPUnit - phpBetter to do SKShapeNode or SKSpriteNode in spritekit? - sprite-kitswift: nscoding decodeObject с нолем все время - iosHow to create an R file line by line - rПочему UINavigationBar отключил часть моего UIBuilder, но не отключил его при тестировании? - user-interfaceAndroid 7.0: EditText invalid actionId in actionlistener editor - androidIn Firebase, the token is always zero - androidCrossbrowser print pdf - pdfjsHow to make FsLab tables visually? - cssInstance variable becomes empty in saved fragment - androidAll Articles