As shown in the [figure]

![figure](https://i.stack.imgur.com/e2aAF.png) 

when I scroll down to the end appears a large block with nothing, How to remove this and scroll the scroll only until the end of **UiTableView** content?

the following images describe the configuration of my uitableview in the storyboard:[storyboar\_one](https://i.stack.imgur.com/6U0iR.png), [storyboard\_two](https://i.stack.imgur.com/CAADs.png), [storyboard\_three](https://i.stack.imgur.com/BaFWe.png)

this my viewDidLoad Method:

```
 override func viewDidLoad() {
    super.viewDidLoad();
    tableView.dataSource = self
    tableView.delegate = self
    let nib: UINib = UINib(nibName: "ObrigacaoTableViewCell", bundle: nil)
    tableView.register(nib, forCellReuseIdentifier: "reuseIdentifier")
    tableView.rowHeight = UITableViewAutomaticDimension
    tableView.estimatedRowHeight = 150
}

```