Swift Question

How to set tableViewCell's Rows Height

I would like to programmatically change my

's Height,
How can i do so?

My TableView Example

thanks a lot ! :)

Answer Source

This should work as well :

override func tableView(tableView: UITableView, heightForRowAtIndexPath indexPath: NSIndexPath) -> CGFloat
        return 100.5; //Put the value that you want
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download