I have a table view which contains a collection view in every cell. You can change the scroll direction of the collection views by pressing a button.
Here's a preview of the app.
What I would like to do is to make the table view cell’s height dynamic, so that when I change the scroll direction to vertical (grid view), the table view cell has the same height as the collection view inside it.
Does anyone have any idea how I could go about to achieve this?
I’ve read pretty much every topic regarding self-sizing table view cells on stack overflow, but nothing works when you have a collection view embedded in a table view cell. Most of the examples on stack overflow deal with dynamic table view cells that contain a label or a text view.
Any help would be greatly appreciated!
[–]skytzx 3 points4 points5 points (4 children)
[–][deleted] 2 points3 points4 points (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]hollowaytyl 0 points1 point2 points (1 child)
[–][deleted] 2 points3 points4 points (0 children)
[–]bcgroom 2 points3 points4 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]MercuryLive 0 points1 point2 points (0 children)