From 08c45af5e7ea3ce097ebeb4e184d53cc59d3ffe5 Mon Sep 17 00:00:00 2001 From: foxster-mp4 Date: Thu, 29 Dec 2022 12:23:45 -0800 Subject: [PATCH] Increase gap between display cutout and video Dynamic Island was still cutting into videos; hopefully this will help --- uYouPlus.xm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uYouPlus.xm b/uYouPlus.xm index a6d9acd..f112eca 100644 --- a/uYouPlus.xm +++ b/uYouPlus.xm @@ -607,7 +607,7 @@ static NSLayoutConstraint *widthConstraint, *heightConstraint, *centerXConstrain renderingView = [playerView renderingView]; // Making renderingView a bit larger since constraining to safe area leaves a gap between the notch and video - CGFloat constant = 24.5; // Tested on iPhone 13 mini + CGFloat constant = 22.0; // Tested on iPhone 13 mini & 14 Pro Max widthConstraint = [renderingView.widthAnchor constraintEqualToAnchor:renderingViewContainer.safeAreaLayoutGuide.widthAnchor constant:constant]; heightConstraint = [renderingView.heightAnchor constraintEqualToAnchor:renderingViewContainer.safeAreaLayoutGuide.heightAnchor constant:constant];