Is there any way to make the intrinsic size update dynamically, rather than just upon initial view load?
The content of our sheet we have changes dynamically (through a set of sub-tabs, but also in other scenarios), so we would like the sheet to resize itself to contain the contents whenever this happens.
Tried invoking sheetViewController_.resize( to: .intrinsic ) as well as sheetViewController_.sizes = [.intrinsic], as well as sheetViewController_.view.layoutIfNeeded() but the sheet view still sizes to the initial/original size.
Is there any way to make the intrinsic size update dynamically, rather than just upon initial view load?
The content of our sheet we have changes dynamically (through a set of sub-tabs, but also in other scenarios), so we would like the sheet to resize itself to contain the contents whenever this happens.
Tried invoking
sheetViewController_.resize( to: .intrinsic )
as well assheetViewController_.sizes = [.intrinsic]
, as well assheetViewController_.view.layoutIfNeeded()
but the sheet view still sizes to the initial/original size.