Linked Questions
338 questions linked to/from Using Auto Layout in UITableView for dynamic cell layouts & variable row heights
43 votes
2 answers
96k views
Swift dynamic table cell height [duplicate]
I have tableview with prototype cell, in the cell I have imageview and some text under. The text label is one laine in the prototype cell, but sometimes it is more than one line, I'm loading the ...
14 votes
1 answer
11k views
Dynamic Cell Size in Table View from a custom Xib [duplicate]
(Warning, I'm an iOS newbie.) I have created a custom Table View Cell and have registered it, and implemented it, on two seperate Table View Controllers. When I run the app the custom xib content is ...
3 votes
1 answer
5k views
Swift: autoresizing the height UITextView inside a cell [duplicate]
Evening fellows, I got this problem: I have a cell of a TableView. Inside the cell there are several elements nested into many stackViews, like in the picture. One of this element is a TextView, ...
0 votes
1 answer
2k views
Self-sizing Table View Cells in Ios UITableview [duplicate]
How to self adjust the uItableview Cell element. automatic adjust of UITableViewCell size.
0 votes
1 answer
1k views
Expand table view cell height based on it's contents/ [duplicate]
I have 2 labels on the cell. If the labels show just one line of text, then the cell looks fine. But if there is more text and if the lines on the labels are wrapped up, then the labels/text on it ...
0 votes
2 answers
1k views
Auto Resize TableView Cells [duplicate]
I have Created a Custom TableView Cell having three Label(one for title, one for short description and last for long Description). I want them to be Dynamically arranged, but the Problem is With third ...
1 vote
3 answers
368 views
cell height depending on a label text [duplicate]
I get the object from CoreData like this self.name = [[abc anyObject] valueForKey:@"name"] and display it: cell.nameLabel.text = [NSString stringWithFormat:@"%@",self.name]; cell.nameLabel....
0 votes
2 answers
474 views
Change tableview cell height dynamically ios [duplicate]
Hi in my application i have a requirement to display prodcuts with description in tablview. For achieving this i added two satckviews on tablview cell content view. Both stackviews holds labels and ...
2 votes
0 answers
252 views
Stretching cell height according to content using Auto Layout [duplicate]
I have a UITableView within a UIView - The Tableview is dynamically populated - how do I stretch the height of the tableview and parent view according to the dynamic content? Is it possible using ...
0 votes
0 answers
106 views
iOS - Dynamic heights on labels in tableViewCell [duplicate]
Edit: this is different from the duplicate because I have two variable-height labels, not one I'm trying to do what I thought would be very simple. I have a table cell that has two labels in it. Each ...
1 vote
0 answers
56 views
UITableView with customized and resized UITableViewCell [duplicate]
I am creating a chat to iOS in Objective-C, and use custom UITableViewCell. My difficulty is to resize the Cell as text in chat, as the picture: enter image description here And this second screen, ...
738 votes
78 answers
335k views
Why is there extra padding at the top of my UITableView with style UITableViewStyleGrouped in iOS7?
Starting in iOS7, there is additional space at the top of my UITableView's which have a style UITableViewStyleGrouped: The tableview starts at the first arrow, there are 35 pixels of unexplained ...
301 votes
23 answers
222k views
How do you load custom UITableViewCells from Xib files?
The question is simple: How do you load custom UITableViewCell from Xib files? Doing so allows you to use Interface Builder to design your cells. The answer apparently is not simple due to memory ...
239 votes
18 answers
345k views
UICollectionView Self Sizing Cells with Auto Layout
I'm trying to get self sizing UICollectionViewCells working with Auto Layout, but I can't seem to get the cells to size themselves to the content. I'm having trouble understanding how the cell's size ...
213 votes
18 answers
115k views
Custom Cell Row Height setting in storyboard is not responding
I am trying to adjust the cell height for one of the cells on my table view. I am adjusting the size from the "row height" setting inside the "size inspector" of the cell in question. When I run the ...