Skip to content

Commit 421c823

Browse files
committed
[Add] let dismiss function can used
1 parent cef1d27 commit 421c823

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Source/UIViewController+SemiModalViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,11 +172,11 @@ extension UIViewController {
172172
addOrUpdateParentScreenshotInView(overlay)
173173
}
174174

175-
@objc func dismissSemiModalView() {
175+
@objc public func dismissSemiModalView() {
176176
dismissSemiModalViewWithCompletion(nil)
177177
}
178178

179-
func dismissSemiModalViewWithCompletion(_ completion: (() -> Void)?) {
179+
public func dismissSemiModalViewWithCompletion(_ completion: (() -> Void)?) {
180180
let targetView = parentTargetView()
181181
guard let modal = targetView.viewWithTag(semiModalModalViewTag)
182182
, let overlay = targetView.viewWithTag(semiModalOverlayTag)

0 commit comments

Comments
 (0)