Skip to content
This repository was archived by the owner on Nov 11, 2025. It is now read-only.

Commit 5f16c72

Browse files
committed
iOS 17.1+ 에서 바텀시트가 제대로 표시되지 않는 문제 해결
1 parent 0b32c0c commit 5f16c72

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

PanModal/Controller/PanModalPresentationController.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,10 @@ open class PanModalPresentationController: UIPresentationController {
177177
guard let containerView = containerView
178178
else { return }
179179

180+
if self.panContainerView.frame == .zero {
181+
self.adjustPresentedViewFrame()
182+
}
183+
180184
layoutBackgroundView(in: containerView)
181185
layoutPresentedView(in: containerView)
182186
configureScrollViewInsets()

0 commit comments

Comments
 (0)