LSDialogViewController
LSDialogViewController copied to clipboard
Resizing dialog with preferredContentSize no longer working.
How can I make the dialog resize to fit it's contents?
LSDialogViewController picks the preferredContentSize when Layout is set to Inferred(Constraints) but it doesn't center the dialog.
@daihase
@brianmwadime Since LSDialogViewController will be created based on UIViewController, the size of the dialog will not be dynamically determined based on the content in the base.
If you want to resize the dialog according to the content, you need to handle the resizing of the view dynamically in the code on the CustomViewController side.