How does the height of a UITableViewCell get set
        Posted  
        
            by 
                Brian
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Brian
        
        
        
        Published on 2011-01-08T01:22:43Z
        Indexed on 
            2011/01/08
            1:53 UTC
        
        
        Read the original article
        Hit count: 681
        
I know that when UIKit renders a cell, it uses tableView:heightForRowAtIndexPath: to calculate the height. My question is, how and when does that get set on the actual UITableViewCell. I want to build dynamic cells and will need to calculate the placement of text within the cell. I believe I can just use self.bounds and self.frame - I was just curious about at what point those are set - even with the use of dequeueReusableCellWithIdentifier.
Thanks.
© Stack Overflow or respective owner