From f49e17b726f46b222e01fd99541dfd0913cd0169 Mon Sep 17 00:00:00 2001 From: Jay Clark Date: Fri, 25 Aug 2023 20:35:39 -0400 Subject: [PATCH] Update SheetViewController.swift --- FittedSheets/SheetViewController.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/FittedSheets/SheetViewController.swift b/FittedSheets/SheetViewController.swift index d833c2f..49c356f 100644 --- a/FittedSheets/SheetViewController.swift +++ b/FittedSheets/SheetViewController.swift @@ -344,7 +344,8 @@ public class SheetViewController: UIViewController { $0.centerX.alignWithSuperview() self.contentViewHeightConstraint = $0.height.set(self.height(for: self.currentSize)) - + self.contentViewHeightConstraint.priority = UILayoutPriority(999) + let top: CGFloat if (self.options.useFullScreenMode) { top = 0