Uitableview with customized and resizable Uitableviewcell

Asked

Viewed 70 times

4

I’m creating a chat for Ios in Objective C, and I use custom Uitableviewcell. My difficulty is in resizing Cell as the text in the chat, as the image:

Imagem exemplo do chat

And this second screen, it’s like this, with one conversation, superimposing the other, without having a limit of when it went from one Ell to the other.

inserir a descrição da imagem aqui

I’ve tried using from Auto Layout, and it didn’t work either. Could you help me?

  • I don’t understand the problem. has how to send a print as it should be?

  • @Paulohdsdare the image above is as it should be, that would be the background and Cell being resizable through the amount of text, but I can’t resize Cell, and so the text does not appear integer.

  • @Paulohdsousa inserted a print like this at the time.

  • In all versions of IOS this happens?

  • This guy here had a problem just like yours. http://stackoverflow.com/questions/18527227/uitableviewcell-with-dynamic-height-ios

  • @Paulohdsousa I’m using in version 9.0, but I believe so, because I didn’t touch anything that resizes Cell, because I don’t know, it’s just separating by the size of the fixed Cell at the time I created the separate view

  • @Paulohdsousa I’ll take a look at his problem.

Show 2 more comments

1 answer

1

I researched tutorials on the same subject, I think the site of raywenderlich fits well in what you want. Tutorial

As a curiosity, I don’t know if this could help, but I’ve searched for third-party libraries that might even have more stuff than I think you need. Here are some links:

Sphchatcollectionview

Slacktextviewcontroller

Whatsapp-Ios

Somessaging

I hope I’ve helped.

  • I’ll take a look at all the material you’ve given me, from now on, thanks for your help.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.