UITableView inside UITableViewCell with dynamic height
I added override for property in my table view:
override var intrinsicContentSize: CGSize {
self.layoutIfNeeded()
return self.contentSize
}
Full code for my table in table can you find on my GitHub
How to set automatic height of tableView inside tableview Cell?
You need to use intrinsicContentSize
variable of a UITableView.
Create a subclass for child tableView and override
intrinsicContentSize.
Dynamic row heights of a UITableView inside a UITableViewCell
Related Topics
Multiple Iboutlets in Same Line of Same Type in Swift
Show Two Different Custom Cells in Same Uitableview - Swift Firebase
Libmobilegestalt Mobilegestalt.C:890: Mgisdeviceoneoftype Is Not Supported on This Platform
Manage a Uipickerview from an External Class - Using Swift
Custom Sequence for Swift Dictionary
User Notification Request Always Come with Default Action Identifier
Infinite Scroll on iOS with Swift
Uisearchbar Out of Screen Bounds When Navigation Bar Translucent = False
Adding Custom Game Logic to Scene Kit (Swift)
Peek/Pop Preview Ignores Cell Corner Radius in Collection View
Why am I Getting an Error Regarding Bolts Framework and Facebooksdk When I'm Not Even Using Bolts
How to Use a Custom Initializer on a Uitableviewcell
Gmsmarker Icon in the Top Left Corner of the View (Ios)
How to Set Clear Background in Table View Cell Swipe Action
Getting Uiwebview API Deprecation Message After Adding Paypal Pod in My iOS App
iOS Keyboard Active But Invisible When Uisearchbar Is Tapped
Simplest Way to Implement a "Read More" Button to Expand a Uitextview in iOS Swift 2