Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UITableView reloadData , keyboard dismiss #108

Open
softknife opened this issue Feb 25, 2020 · 2 comments
Open

UITableView reloadData , keyboard dismiss #108

softknife opened this issue Feb 25, 2020 · 2 comments

Comments

@softknife
Copy link

I have a TextView inside a UITableViewCell. The text inside the TextView can be edited right there in place.

The TextView grows and shrinks vertically depending on the number of lines the text contains. So far I haven't found a possibility to also let the row containing the TextView grow and shrink dynamically.

I find some solution at stackoverflow , but i can't find the related api to do this action in Former framework

@softknife
Copy link
Author

this is one solution stackoverflow

@ZacharyKhan
Copy link
Collaborator

Hello @softknife,

I anticipate this would require subclassing your own UITableViewCell to layout the views in relation to the UITextView height. Have you tried subclassing and creating your own cell?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants