Linked Questions

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 ...
SpyZip's user avatar
  • 5,540
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 ...
Sean's user avatar
  • 2,529
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, ...
Andre's user avatar
  • 7,748
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.
Dhanaraj's user avatar
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 ...
tech_human's user avatar
  • 7,202
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 ...
shubham mishra's user avatar
1 vote
3 answers
362 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....
davel's user avatar
  • 43
0 votes
2 answers
468 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 ...
Naresh G's user avatar
  • 117
2 votes
0 answers
250 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 ...
Dancer's user avatar
  • 17.8k
0 votes
0 answers
104 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 ...
Bryan Deemer's user avatar
1 vote
0 answers
54 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, ...
Jonathan Sales's user avatar
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 ...
esilver's user avatar
  • 28.6k
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 ...
DrGary's user avatar
  • 3,321
239 votes
18 answers
344k 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 ...
rawbee's user avatar
  • 3,048
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 ...
zirinisp's user avatar
  • 10.4k

15 30 50 per page
1
2 3 4 5
23