mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-27 22:03:15 +00:00
Increase gap between display cutout and video
Dynamic Island was still cutting into videos; hopefully this will help
This commit is contained in:
parent
0b19ffb845
commit
08c45af5e7
1 changed files with 1 additions and 1 deletions
|
|
@ -607,7 +607,7 @@ static NSLayoutConstraint *widthConstraint, *heightConstraint, *centerXConstrain
|
||||||
renderingView = [playerView renderingView];
|
renderingView = [playerView renderingView];
|
||||||
|
|
||||||
// Making renderingView a bit larger since constraining to safe area leaves a gap between the notch and video
|
// 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];
|
widthConstraint = [renderingView.widthAnchor constraintEqualToAnchor:renderingViewContainer.safeAreaLayoutGuide.widthAnchor constant:constant];
|
||||||
heightConstraint = [renderingView.heightAnchor constraintEqualToAnchor:renderingViewContainer.safeAreaLayoutGuide.heightAnchor constant:constant];
|
heightConstraint = [renderingView.heightAnchor constraintEqualToAnchor:renderingViewContainer.safeAreaLayoutGuide.heightAnchor constant:constant];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue