swiftuitableviewios8custom-cellxcode6.4

Row Height of UITableView Custom Cell doesn't update, Swift iOS8


I have created a UITableView Custom Cell in the Storyboard in Xcode 6.4 in iOS 8. When I change the row height in the Size Inspector enter image description here of the Storyboard nothing happens to the custom cells of my UITableView in the App.


Solution

  • You can update it with override this method in your TableViewController:

    override func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
        return 55
    }