Swift Nonaktifkan Modal Dismiss Swift

viewController.isModalInPresentation = true

// or

func presentationControllerShouldDismiss(_ presentationController: UIPresentationController) -> Bool {
    return false
}
Rens